|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FormComponentContributorContext
Object that provides support to objects that implement
FormComponentContributor
. For the moment, at least, this is all
about client-side JavaScript generation.
TODO: Having support for regular expressions might be useful (and would allow a single {@link RegexpMatcher to be shared).
Method Summary | |
---|---|
void |
addSubmitListener(java.lang.String submitListener)
Adds initialization to register a submitListener on the client side. |
java.lang.String |
getFieldDOM()
Returns a client-side DOM reference for the field for which contributions are being rendered. |
void |
includeClasspathScript(java.lang.String path)
Includes the indicated script; the path is a path on the classpath. |
Methods inherited from interface org.apache.tapestry.form.ValidationMessages |
---|
formatValidationMessage |
Method Detail |
---|
java.lang.String getFieldDOM()
void includeClasspathScript(java.lang.String path)
void addSubmitListener(java.lang.String submitListener)
submitListener
- either the name of a submit listener ("myListener"), or an inline implementation
of a listener function ("function(event) { ... } ").
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |