A | |
attachAjaxStatus, tapestry.fx | |
attachPostEffect, tapestry.fx | |
attachPreEffect, tapestry.fx | |
B | |
bind, tapestry | |
buildEventProperties, tapestry. event | |
buildNodeProperties, tapestry. event | |
buildTargetProperties, tapestry. event | |
C | |
cancel, tapestry.form | |
cleanConnect, tapestry | |
clearProfiles, tapestry.form | |
E | |
error, tapestry | |
F | |
fillInTemplate | |
focusField, tapestry.form | |
G | |
getContentAsString, tapestry.html | |
getElementAsString, tapestry.html | |
I | |
isServingRequests, tapestry | |
L | |
load, tapestry | |
loadContent, tapestry | |
loadJson, tapestry | |
loadScriptContent, tapestry | |
loadScriptFromUrl, tapestry | |
P | |
postCreate | |
presentException, tapestry | |
R | |
refresh, tapestry.form | |
registerForm, tapestry.form | |
registerProfile, tapestry.form | |
removeAll, tapestry.fx | |
S | |
setFormValidating, tapestry.form | |
submit, tapestry.form | |
submitAsync, tapestry.form |
Allows specifying a dom node that will be shown or hidden while ajax requests are in progress or have finished.
attachAjaxStatus:function( a1 )
Schedules the execution of an effect when the specified content is returned through an XHR response.
attachPostEffect:function( updateId, animationFunc )
Schedules the execution of an effect when the specified link is clicked (and thus an XHR request begins).
attachPreEffect:function( triggerId, animationFunc, async )
Core XHR bind function for tapestry internals.
bind:function( url, content, json )
Takes an incoming browser generated event (like key/mouse events) and creates a js object holding the basic values of the event in order for it to be submitted to the server.
buildEventProperties:function( event, props )
Builds needed target node properties, like the node’s id.
buildNodeProperties:function( props, node )
Generic function to build a properties object populated with relevent target data.
buildTargetProperties:function( props, target )
Submits the form to the server in “cancel” mode, invoking any cancel listeners registered to the server side equivalent to the form passed in.
cancel:function( form, submitName, parms )
Utility used to disconnect a previously connected event/function.
cleanConnect:function( target, event, funcName )
Clears any previously registered validation profiles on the specified form.
clearProfiles:function( id )
Global error handling function for dojo.io.bind requests.
error:function( type, exception, http, kwArgs )
Called during widget creation.
fillInTemplate:function()
If possible, brings keyboard input focus to the specified field.
focusField:function( field )
Takes a dom node and returns its contents rendered in a string.
getContentAsString:function( node )
Takes a dom node and returns itself and its contents rendered in a string.
getElementAsString:function( node )
Utility used to find out if there are any ajax requests in progress.
isServingRequests:function()
Global load handling function for dojo.io.bind requests.
load:function( type, data, http, kwArgs )
Used by tapestry.load when handling xml responses to iterate over the tapestry specific xml response and appropriately load all content types / perform animations / execute scripts in the proper order / etc..
loadContent:function( id, node, element )
loadJson:function( type, data, http, kwArgs )
Manages loading javascript content for a specific incoming xml element.
loadScriptContent:function( element, async )
Takes a url string and loads the javascript it points to as a normal document head script include section.
loadScriptFromUrl:function( url )
Called after widget constructed.
postCreate: function( args, frag, parentComp )
When remote exceptions are caught on the server special xml blocks are returned to the client when the requests are initiated via async IO.
presentException:function( node, kwArgs )
Submits the form to the server in “refresh” mode, invoking any refresh listeners registered to the server side equivalent to the form passed in.
refresh:function( form, submitName, parms )
Registers the form with the local forms property so that there is a central reference of all tapestry forms.
registerForm:function( id, async, json )
Registers a form validation/translation profile.
registerProfile:function( id, profile )
Removes all registered effects (preEffects and postEffects).
removeAll:function()
If a form registered with the specified formId exists a local property will be set that causes validation to be turned on/off depending on the argument.
setFormValidating:function( formId, validate )
Submits the form specified, optionally setting the submitname hidden input field to the value of submitName to let the Form component on server know which button caused the submission.
submit:function( form, submitName, parms )
Does almost the same thing as tapestry.form.submit, but submits the request via XHR to the server asynchronously.
submitAsync:function( form, content, submitName, parms )