You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Apache Wiki <wi...@apache.org> on 2007/11/16 20:35:14 UTC
[Tapestry Wiki] Update of "Tapestry5HowToNotMakeCustomComponent" by DavorHrg
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.
The following page has been changed by DavorHrg:
http://wiki.apache.org/tapestry/Tapestry5HowToNotMakeCustomComponent
------------------------------------------------------------------------------
''HINT: you can use @!BeforeRenderTemplate, @!BeforeRenderBody annotations instead method names''
- == non component classes/interfaces in myApp.pages and myApp.components packages ==
+ == non component classes/interfaces in myApp.pages and myApp.components and myApp.base packages ==
pages and components are instrumented by tapestry, they are also in a separate class loader, and you should avoid using their packages for any non component classes/interfaces. You are most likely to get '''!ClassCastException''' or '''!CoercionException'''.
For me these problems were result of trying to make a component as fast as I can.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org