|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.chwf.plugin.Scripter | +--org.chwf.plugin.defaults.DefaultScripter
A default user plugin implementation that uses the FormValidation.js logic for client-side validation.
Fields inherited from class org.chwf.plugin.Scripter |
SCRIPTER_ID |
Constructor Summary | |
DefaultScripter()
|
Method Summary | |
void |
printValidations(ValidationData data,
javax.servlet.jsp.JspWriter out)
Print JavaScript validation logic using the syntax of the FormValidation.js library and BeanFilter property metadata. |
Methods inherited from class org.chwf.plugin.Scripter |
getInstance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultScripter()
Method Detail |
public void printValidations(ValidationData data, javax.servlet.jsp.JspWriter out) throws java.io.IOException, javax.servlet.jsp.JspException
printValidations
in class Scripter
data
- The validation data.out
- The JspWriter for output.java.io.IOException
- For IO exceptions.javax.servlet.jsp.JspException
- If the property cannot be initialized.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |