JavaScriptSupport
directly,
instead.public interface ClientBehaviorSupport
FormFragment
s.
This interface is only kept for binary compatibility in Tapestry 5.4; the implementation no longer does anything but
throw exceptions and will be removed in 5.5.Zone
Modifier and Type | Method and Description |
---|---|
void |
addFormFragment(String clientId,
boolean alwaysSubmit,
String showFunctionName,
String hideFunctionName)
Deprecated.
|
void |
addFormFragment(String clientId,
boolean alwaysSubmit,
String showFunctionName,
String hideFunctionName,
String visibilityBoundFunctionName)
Deprecated.
In 5.4; use the
core/form-fragment module instead. |
void |
addFormFragment(String clientId,
String showFunctionName,
String hideFunctionName)
Deprecated.
|
void |
addFormInjector(String clientId,
Link link,
InsertPosition insertPosition,
String showFunctionName)
Deprecated.
Adds a new client-side Tapestry.FormInjector object.
|
void |
addValidation(Field field,
String validationName,
String message,
Object constraint)
Deprecated.
Collects field validation information.
|
void |
addZone(String clientId,
String showFunctionName,
String updateFunctionName)
Deprecated.
Adds a new client-side Tapestry.Zone object.
|
void |
linkZone(String linkId,
String elementId,
Link eventLink)
Deprecated.
Sets the client-side onclick handler for an <a> element to perform an Ajax update of a zone.
|
void addZone(String clientId, String showFunctionName, String updateFunctionName)
clientId
- client-side id of the element that will be updated by the zoneshowFunctionName
- name of the function used to initially show the zone (if not visible), or null for
defaultupdateFunctionName
- name of function used to highlight the function after an update, or null for defaultvoid linkZone(String linkId, String elementId, Link eventLink)
^
or the id of the zone's client element.linkId
- id of the link to Ajax enableelementId
- id of an element that has been previously registered as a ZoneeventLink
- void addFormFragment(String clientId, String showFunctionName, String hideFunctionName)
addFormFragment(String, boolean, String, String, String)
insteadclientId
- client-side id of the element that will be made visible or invisibleshowFunctionName
- name of function (of the Tapestry.ElementEffect object) used to make the SubForm visible,
or null for the defaulthideFunctionName
- name of the function used to make the SubForm invisible, or null for the defaultvoid addFormFragment(String clientId, boolean alwaysSubmit, String showFunctionName, String hideFunctionName)
addFormFragment(String, boolean, String, String, String)
insteadclientId
- client-side id of the element that will be made visible or invisiblealwaysSubmit
- if true, the fragment ignores client-side visiblility and always submits its valuesshowFunctionName
- name of function (of the Tapestry.ElementEffect object) used to make the SubForm visible,
or null for the defaulthideFunctionName
- name of the function used to make the SubForm invisible, or null for the defaultvoid addFormFragment(String clientId, boolean alwaysSubmit, String showFunctionName, String hideFunctionName, String visibilityBoundFunctionName)
core/form-fragment
module instead.UnsupportedOperationException
.clientId
- client-side id of the element that will be made visible or invisiblealwaysSubmit
- if true, the fragment ignores client-side visiblility and always submits its valuesshowFunctionName
- name of function (of the Tapestry.ElementEffect object) used to make the SubForm visible,
or null for the defaulthideFunctionName
- name of the function used to make the SubForm invisible, or null for the defaultvisibilityBoundFunctionName
- name of the function used to bound the isDeepVisible search, or null for the defaultvoid addFormInjector(String clientId, Link link, InsertPosition insertPosition, String showFunctionName)
clientId
- client-side id of the element that identifiess where the new content will be placedlink
- action request link used to trigger the server-side object, to render the new contentinsertPosition
- where the new content should go (above or below the element)showFunctionName
- name of function (of the Tapestry.ElementEffect object) used to make the new element
visible, or null for the defaultvoid addValidation(Field field, String validationName, String message, Object constraint)
field
- for which validation is being generatedvalidationName
- name of validation method (see Tapestry.Validation in tapestry.js)message
- the error message to display if the field is invalidconstraint
- additional constraint value, or null for validations that don't require a constraint${project.version} - Copyright © 2003-2015 The Apache Software Foundation.