See https://issues.apache.org/jira/browse/TAP5-1 .
Perhaps you should add your comments and maybe even re-open it?
On 20/11/2008, at 7:28 PM, Inge Solvoll wrote:
I ran into this problem myself.
Is it possible to listen for an event that says "Tapestry javascript
has
finished initializing the page"? The scenario of users clicking
links before
they are "decorated" with ajax javascript is very common, so there
should be
a built-in best-practice solution for this. I know I could solve it
server
side by checking for isXHR, but I don't think the case of users
being faster
thinkers than the CPU should be a natural part of my graceful
degredation.
Users without proper XHR support should.
I would like to be able to hide my links until they are ajax-
enabled. Or
implement some other trick to prevent this bug from happening. But I
guess
this would be pretty hard if I'm not able to track the status of the
Tapestry init script?
I could just use the Prototype dom loaded event, and add a 2 second
timeout
to be relatively sure, but it ain't exactly pretty :)
Regards
Inge
On Mon, Sep 8, 2008 at 2:58 PM, luna_guo <[EMAIL PROTECTED]> wrote:
Geoff
It's ok to return a block object in a action handler method,but you
can't
use the type Block,it will throw exceptions.You should use Object
instead.
/luna
--
View this message in context:
http://www.nabble.com/T5%3A-AJAX-ActionLink-exception-if-clicked-as-page-loads-tp19346336p19372125.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
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]