hi!
I want to use the dialog component of tapestry-jquerys ui components and
I'm not sure about the best way to trigger the serverside from the
javascript callback functions:
- if a button is pressed:
a.) create a link with ComponentResources using createEventLink(
OK_DIALOG ).toAbsoluteURI();
b.) calling this link inside the js callback: Tapestry.ajaxRequest(
myLink ...)
c.) having an onEvent method on the server side
- if the dialog gets finally closed:
a.) create a link with ComponentResources using createEventLink(
CLOSE_DIALOG ).toAbsoluteURI();
b.) calling this link inside the js callback: Tapestry.findZoneManager(
myZone).updateFromURL( myLink );
c.) having a onEvent method on the server side which returns the zone
so, is this the best way to do it?
can you point me to some documentation regarding Tapestry.ajaxRequest
and Tapestry.findZoneManager?
Thanks,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org