Re: T5 Embedded Components

2012-12-07 Thread Thiago H de Paula Figueiredo
On Fri, 07 Dec 2012 10:51:44 -0200, captain_rhino 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

Re: T5 Embedded Components

2012-12-07 Thread Kristian Marinkovic
Hi, first remove the id parameter from the @Component annotation; this is only needed if the field name in the java class is different from the t:id attribute in the template. second because you already defined your component in the template you don't have to declare it in your java class; so you

Re: T5 embedded components

2007-06-16 Thread Howard Lewis Ship
You can cast a component to type org.apache.tapestry.runtime.Component (this interface is added to component classes at runtime). You can than access the component's ComponentResources, including embedded components. This is not advised; it is possible (in much the way you can use reflection to