Thanks Markus,
That is certainly better than what I had and yes I would prefer to
handle this in a single request without forwarding/redirecting the browser.
Do you know if there is any way to actually instantiate a page class
within 'handlePageRender' and then return this page object to be
Thanks for the ideas Josh, Hopefully I can get some use out of them...
I am creating the Ajax.Request myself as this is essentially what the
Autocompleter does which is the best example I can find. I am infact
extending the Autocompleter so that I can trigger an Ajax communication
when an item
> I've recently come up with a solution for handling MultiZoneUpdate as the
> response from an Ajax.Request.
I'm not sure I follow why you need to create your own Ajax.Request
instead of using one of the built-in action/event link components. You
can give it the name of one zone but return a Multi
I've answered my own question:
Tapestry.onDOMLoaded(function(){
$("jsZone").observe(Tapestry.ZONE_UPDATED_EVENT, function(event){
/ find inner html and eval
});
});
this does work ok, however I'm suspicious that there's an easier/tidier
way to achieve the same already built in t
I've found where the JSON is built, and can't see a way to include a
script call anywhere in there.
So my first hacky inclination is to create a hidden zone who's innerHTML
will contain the javascript (which has been updated in the server side
event listener, and call it via something like
'e
Hi all,
I've recently come up with a solution for handling MultiZoneUpdate as
the response from an Ajax.Request.
I did this by creating the following javascript function and calling it
in Ajax.Request.onSuccess:
Tapestry.handleMultizoneUpdate = function (transport)
{
var reply = transpor
Howard, where can I find it in 5.2? (js method name)
I'd like to write some forwards compatibility so i don't forget when we
upgrade...
Howard Lewis Ship wrote:
> I've extracted the body of 'Tapestry.loadScriptsInReply' and called that
> with the parameter 'transport.responseJSON'.
>
> This
On Sat, 22 May 2010 19:19:01 -0300, rajesh sukumaran
wrote:
Hi,
Hi!
Once the reverse ajax script fires the change made to the TML files will
not get reflected in the browser. I have to restart the web application
to see the effect of a change in TML files. This is causing lot of
inco