Em Mon, 28 Sep 2009 10:41:35 -0300, Cordenier Christophe <christophe.corden...@atosorigin.com> escreveu:

Hi

Hi!

Take a look ComponentEventRequestHandlerImpl, following code are calling the event on requested Component and Event :

boolean handled = element.triggerContextEvent(parameters.getEventType(), parameters.getEventContext(),
                                                      callback);
if (!handled)
throw new TapestryException(ServicesMessages.eventNotHandled(element, parameters.getEventType()), element, null);

You can catch these exceptions in an error page. Its name is defined by the tapestry.exception-report-page configuration symbol. Make sure your page implements ExceptionReporter, so it can receive the raised exception.

--
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

Reply via email to