Re: T5: Prototype's AJAX.updater question

2007-06-12 Thread Erik Vullings
> return new TextStreamResponse("text/html",markupWriter.toString()); > } > > it works but i don't know if it's the T5 way of doing it :) > > g, > kris > > > > > "Erik Vullings" <[EMAIL PROTECTED]> > 12.06.2007 16:00 > Bitte a

Re: T5: Prototype's AJAX.updater question

2007-06-12 Thread Howard Lewis Ship
ks but i don't know if it's the T5 way of doing it :) g, kris "Erik Vullings" <[EMAIL PROTECTED]> 12.06.2007 16:00 Bitte antworten an "Tapestry users" An "Tapestry users" Kopie Thema T5: Prototype's AJAX.updater question Hi all, Is

Antwort: T5: Prototype's AJAX.updater question

2007-06-12 Thread Kristian Marinkovic
12.06.2007 16:00 Bitte antworten an "Tapestry users" An "Tapestry users" Kopie Thema T5: Prototype's AJAX.updater question Hi all, Is it possible to use prototype's AJAX updater function to replace a div with the output of a tapastry page or component? I

Re: T5: Prototype's AJAX.updater question

2007-06-12 Thread Howard Lewis Ship
You are formulating the URL incorrectly. /GetContent.html looks like an "action" event on the "html" component of page "GetContent". See: http://tapestry.apache.org/tapestry5/tapestry-core/guide/pagenav.html The best way to get a URL is to inject ComponentResources and ask the component to cre

T5: Prototype's AJAX.updater question

2007-06-12 Thread Erik Vullings
Hi all, Is it possible to use prototype's AJAX updater function to replace a div with the output of a tapastry page or component? I''ve tried the following: I created a js function which should update the mainContent div *function* showAJAX(index) { *new* Ajax.Updater("mainContent", "GetContent