HomeNext

XTile
org.mb.tapestry.xtile.XTile
  Non-Visual Component
Description
A component providing the required JavaScript to pass some information to the server and receive its response without reloading the page (Ajax)
Parameters
nametypedirectionrequireddefault valuedescription
listenerorg.apache.tapestry.IActionListenerauto   The listener that will be invoked when the Javascript function with the given name is invoked. Any parameters passed to the send function will be available from cycle.getServiceParameters(). In addition, the listener can perform cycle.setServiceParameters() to pass an array of strings to the JavaScript receive function.  
sendNamejava.lang.Stringauto   The name of the JavaScript function that the script will define to allow the application to send information to the server.  
receiveNamejava.lang.Stringauto   The name of the JavaScript function that the script will call to allow the application to receive information from the server some time after the send function has been invoked.  
errorNamejava.lang.Stringauto null The name of the JavaScript function that the script will call to indicate that an error has occurred while sending the information to the server.  
disableCachingbooleanauto false Some browsers cache repeated requests that have identical URLs. Pass 'true' to this parameter to disable caching by making the URLs unique.  
Allow body (removed)
Allow informal parameters   
Reserved parameters   -
Toggle help

HomeNext