On Fri, 07 Jun 2013 12:50:46 -0300, Zsombor <gzsom...@gmail.com> wrote:
Hi,
Hi!
1, MyPluginTab tab = (MyPluginTab) page.getRootComponent(); tab.init(...); This creates a nice exception: *java.lang.ClassCastException: x.y.z.MyPluginTab cannot be cast to x.y.z.MyPluginTab * Clearly a class loader issue
Yep. Did you put the MyPluginTab interface in a controlled package (base, components, pages or mixins)? If yes, put it somewhere else.
This seem to be work ... For the first request. On the subsequent AJAX requests, the parent component rendering is not called,
This is expected. @BeginRender, @SetupRender are only invoked when the page is rendered, not when just a piece of it is.
Have you tried pushing stuff into the Environment in the AJAX even handler method you're using in addition to setupRender()?
-- Thiago H. de Paula Figueiredo --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org