Hello,
To add Javascript after an action on the server side, you can use the
PageRenderSupport class.
Actually, this may work for Ajax and non-Ajax request.
To inject this class in your component :
@Environmental
private PageRenderSupport _pageRenderSupport;
Hope it helps.
Actually, I get a
[ERROR] ExceptionHandler
org.apache.tapestry.runtime.ComponentEventException: No object of type
org.apache.tapestry.PageRenderSupport is available from the
Environment. Available types are
org.apache.tapestry.ValidationTracker,
PS:
I use Tapestry 5.0.12-SNAPSHOT...
/Andreas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
: Re: Login google-style (with redirect after ajax form refresh)
PS:
I use Tapestry 5.0.12-SNAPSHOT...
/Andreas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Ce message et les
Executing script in an ajax response requires parsing out the script
and eval'ing it separately (your browser protecting you from scripting
attacks). This can be done with scriptaculous but is disabled by
default. I can't see a way to override this in Tapestry without
duplicating code from