Re: T5 actionlink, ajax zone and user onclick handler

2009-12-05 Thread Kalle Korhonen
On Tue, Apr 29, 2008 at 9:14 AM, Chris Lewis wrote: > Unfortunately I can't think of a clean workaround for that. The issues > are all in the javascript and how events are dispatched and handled. > Basically it comes down to 2 problems: This is an old thread but found it when I run into a similar

Re: Help with ZoneUpdate

2009-12-05 Thread Thiago H. de Paula Figueiredo
Em Sat, 05 Dec 2009 15:28:33 -0200, Ashwanth Kumar escreveu: Can you give me an example? I'm new to, Prototype! Regarding events, take a look at http://www.prototypejs.org/api/event/observe -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, de

Re: Help with ZoneUpdate

2009-12-05 Thread Ashwanth Kumar
Hey, Can you give me an example? I'm new to, Prototype! Thanks - Ashwanth Kumar On Sat, Dec 5, 2009 at 3:05 PM, Juan E. Maya wrote: > The Zone raises a JS event when is updated. This is explained in the > Zone documentation: > > > http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apa

Re: T5 - MarkupWriterListener

2009-12-05 Thread Thiago H. de Paula Figueiredo
Em Sat, 05 Dec 2009 10:55:57 -0200, Daniel Jones escreveu: Thanks for your reply Thiago. You're welcome! The mixin method would work I guess but what I'm trying to do is remove the 'name' attribute generated by the Form component (because it is not valid in the Strict Doctype). You c

Re: forward to page after delay

2009-12-05 Thread oskar_a
OMG...thats so easy :jumping: Thanks a lot. Ulrich Stärk wrote: > > http://URL.of/target/page/";> > > Don't forget to provide a link in case the user's browser doesn't follow > redirects. > > Uli > > oskar_a schrieb: >> Hi, >> I m new in tapestry and try to create confirmation page A which

Re: forward to page after delay

2009-12-05 Thread Ulrich Stärk
http://URL.of/target/page/";> Don't forget to provide a link in case the user's browser doesn't follow redirects. Uli oskar_a schrieb: Hi, I m new in tapestry and try to create confirmation page A which redirects to page B after 5 seconds. Something like: "Your login was successful. Now You

Re: forward to page after delay

2009-12-05 Thread Juan E. Maya
I think the best way simpler way is to have a javascript that opens page B after X seconds. On Sat, Dec 5, 2009 at 2:54 PM, oskar_a wrote: > > Hi, > I m new in tapestry and try to create confirmation page A which redirects to > page B after 5 seconds. Something like: "Your login was successful. N

forward to page after delay

2009-12-05 Thread oskar_a
Hi, I m new in tapestry and try to create confirmation page A which redirects to page B after 5 seconds. Something like: "Your login was successful. Now You will be redirected to the indexpage." I tried to realize this in the onActivate() method with Thread.sleep or (java.util.Timer) but it doesn

Re: T5 - MarkupWriterListener

2009-12-05 Thread Daniel Jones
Thanks for your reply Thiago. The mixin method would work I guess but what I'm trying to do is remove the 'name' attribute generated by the Form component (because it is not valid in the Strict Doctype). I don't want to add a mixin to every form in my application. Is there any way that I can re

Re: ZoneUpdater -> null strings ...

2009-12-05 Thread Gunnar Eketrapp
Hi! I just copied the JumpStart example ... i.e. copied ZoneUpdater.java + ZoneUpdater.js. My html is also using jquery in noConflict() mode. My tml looks like ... .tml Currently I have added a "dummy" in my action methods which works. But it would be nice to sort it out. /Gunnar 200

Re: ZoneUpdater -> null strings ...

2009-12-05 Thread Inge Solvoll
The $N is probably a client encoding of null. Are you passing a context to the mixin? The provided context seems to be [null, 'XXX'], where XXX is replaced by your real value on the client. On Sat, Dec 5, 2009 at 12:49 AM, Gunnar Eketrapp wrote: > When I added a dummy param to my event method th

Re: Help with ZoneUpdate

2009-12-05 Thread Juan E. Maya
The Zone raises a JS event when is updated. This is explained in the Zone documentation: http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Zone.html "After the client-side content is updated, a client-side event is fired on the zone's element. The cons