Is there a way to get information from a component back to the page it is
contained in?  I would like to be able to display errors and warnings from
setupRender() of a component in the layout component of the containing page. 
I'm able to accomplish this for errors in a component's event handlers by
throwing an exception and having the page catch it using onException() but
this does not seem to be an option in the render phase methods (and I
wouldn't want to stop rendering the component).  Environmentals do not seem
to work either because the page appears to have already rendered itself by
the time setupRender is called in the component.  Part of the problem may be
that I'd like to display the messages at the top of the page which has
already been processed by the time the component is rendered.  The
errors/warnings are not serious enough to go to an exception page.  I'd like
to continue to render the component/page but just let the user know
something was missing (and would prefer to have the message appear somewhere
outside the component so the layout of the rest of the page looks ok).

Does anyone know of a way I can accomplish this?  Should I be approaching
this problem in a different way?  Thanks.

Kevin
-- 
View this message in context: 
http://www.nabble.com/T5-Component-Communication-Rendering-tp17693931p17693931.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]

Reply via email to