On Fri, 07 Dec 2012 10:51:44 -0200, captain_rhino
<graeme.kitc...@axa-travel-insurance.com> wrote:
Embedded components
It's a little weird to talk in Tapestry about embedded components because
all components can be used inside another component and pages are 99% the
same as components.
How can I pass the Text field component to the SimpleTextField Component
to avoid the above error or is there a different approach I should be
taking?
Tapestry components are meant to be used as black boxes, so you're not
supposed to refer to anything declared inside a component. If you really
need to get the component inside the component, something you should
avoid, create a getter in the component that has the component you want.
Cheers!
--
Thiago H. de Paula Figueiredo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org