Em Sat, 08 Aug 2009 15:26:45 -0300, Mario Rabe <mario.r...@googlemail.com>
escreveu:
Hi,
Hi!
how can I do a redirect from a XHR-request? Here an example to make clear
what I want to do:
If it was a Tapestry-provided event, you could just return a page
instance, a page class, an URL or a page name in an event handler method.
Looking at the Form component sources, it uses this callback instance in
its VALIDATE_FORM event:
ComponentResultProcessorWrapper callback = new
ComponentResultProcessorWrapper(componentEventResultProcessor);
componentEventResultProcessor comes from an environmental service:
@Environmental
private ComponentEventResultProcessor componentEventResultProcessor;
Try using the above callback and please post the results. :)
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org