URL = a url you would build on the serverside using something like:
resources.createEventLink( "".... );
Let me review the background below.. I hope I don't confuse you too much..
Normally:
<t:zone id="zoneId"/>
<a t:type="actionlink" t:id="actionId" zone="zoneId">activateZone</a>
Generates:Html:
<div id="zoneId">
</div>
<a href="URL">activateZone</a>
Generates:Javascript:
1) setup a ZoneManager against the div#zoneId
2) setup a click listener on the actionlink.. to fetch actionlink URL
from tapestry, (which calls the event listener which returns a Block,
and then tapestry renders block.. ), once the URL returns, it squirts
the contents of the results into the appropriate div#zoneId.
step 2 is basically what Tapestry.activateZone would replace.. so you
can do this without relying on an actionlink or form..
mwilliam...@kcp.com wrote:
I would like to use this feature but I can't figure out what url this is.
Fernando Padilla wrote:
that said, any committers want to add a simple function for people to
use?? something like this:
Tapestry.activateZone = function( zoneId, url ) {
var zoneManager = Tapestry.findZoneManagerFromId( zoneId );
zoneManager.updateFromURL( url );
}
Inge Solvoll wrote:
var zoneObject = Tapestry.findZoneManager(elementConnectedToZone);
zoneObject.updateFromURL(link);
On Fri, Mar 6, 2009 at 8:16 AM, Andrea Chiumenti <kium...@gmail.com>
wrote:
Hi to avoid me to read all Tapestry js code, could you tell me waht
is/are the js Class and method(s) that replace a zone on a xhr call ?
Thanks,
kiuma
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
Quoted from:
http://www.nabble.com/about-T5-javascript-tp22367350p22400998.html
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org