|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.tapestry.form.ValidationMessagesImpl
org.apache.tapestry.form.FormComponentContributorContextImpl
Implementation of FormComponentContributorContext.
| Constructor Summary | |
FormComponentContributorContextImpl(java.util.Locale locale,
IRequestCycle cycle,
IFormComponent field)
|
|
| Method Summary | |
void |
addSubmitHandler(java.lang.String submitListener)
Adds initialization to register a submit handler on the client side. |
void |
includeClasspathScript(java.lang.String path)
Includes the indicated script; the path is a path on the classpath. |
void |
registerForFocus(int priority)
Registers a field for automatic focus. |
| Methods inherited from class org.apache.tapestry.form.ValidationMessagesImpl |
formatValidationMessage, getLocale |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.tapestry.form.ValidationMessages |
formatValidationMessage, getLocale |
| Constructor Detail |
public FormComponentContributorContextImpl(java.util.Locale locale,
IRequestCycle cycle,
IFormComponent field)
| Method Detail |
public void includeClasspathScript(java.lang.String path)
FormComponentContributorContext
includeClasspathScript in interface FormComponentContributorContextpublic void addSubmitHandler(java.lang.String submitListener)
FormComponentContributorContext
addSubmitHandler in interface FormComponentContributorContextpublic void registerForFocus(int priority)
FormComponentContributorContext
registerForFocus in interface FormComponentContributorContextpriority - a priority level used to determine whether the registered field becomes the focus
field. Constants for this purpose are defined in ValidationConstants.FormBehavior.registerForFocus(IFormComponent, int)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||