Russell, I you look at YUI's event model I belive it handles this better. YUI Event - http://developer.yahoo.com/yui/event/ will allow you define events before DOM Ready and queues them until after.
This should be a good way to solve this problem. Ben On Fri, Dec 5, 2008 at 4:42 PM, Russell Brown <[EMAIL PROTECTED]>wrote: > Is Ok. I read the results at > https://issues.apache.org/jira/browse/TAP5-1. I guess we will have to > roll our own. Can't have users clicking once and waiting and then going > "uh...did I click that"... I think it is better if there is either some > feedback or a way of trapping the event and replaying it when the page > has loaded. > > Cheers > Russell > > -----Original Message----- > From: Russell Brown [mailto:[EMAIL PROTECTED] > Sent: 05 December 2008 14:59 > To: Tapestry users > Subject: RE: T5: Clicking on actionLonk with a zone parameter before > page loads > > Can you tell me what happens now? Is the link just dead until the page > loads, is there some sort of feed back? Is It invisible? Just want to > know as we were about to roll our own solution. > > Many thanks > > Russell > > -----Original Message----- > From: Inge Solvoll [mailto:[EMAIL PROTECTED] > Sent: 05 December 2008 14:52 > To: Tapestry users > Subject: Re: T5: Clicking on actionLonk with a zone parameter before > page loads > > Last version of T5 has a fix for this. Works for me now. > > On Fri, Dec 5, 2008 at 3:50 PM, Russell Brown > <[EMAIL PROTECTED]>wrote: > > > Hi, > > > > I have some AJAX calls from actionLinks. If a user clicks on the > > actionLink before the page is fully loaded I get the exception > > > > > > > > A component event handler method returned the value > > [EMAIL PROTECTED] Return type > > org.apache.tapestry5.internal.structure.BlockImpl can not be handled. > > Configured return types are java.lang.Class, java.lang.String, > > java.net.URL, org.apache.tapestry5.Link, > > org.apache.tapestry5.StreamResponse, > > org.apache.tapestry5.runtime.Component. > > > > > > > > > > > > Is this something to do with javascript setting up the zones on load? > > > > > > > > Is there a work around or a planned fix for this? We use ajax calls > all > > over the site and everyone can cause this kind of explosion if we have > a > > fast clicker. > > > > > > > > Cheers > > > > > > > > Russell > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >