Re: [T5] How create sub component

2007-07-04 Thread David Avenante
Thank you Hugo, I'll explore this way. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [T5] How create sub component

2007-07-04 Thread Hugo Palma
Well, i think the only way you could achieve that would be to use the Block component. You could create a master page where your component blocks are declared. That would be the only page your web designer would edit. In the other pages where you use the components you would would the RenderBlock

Re: [T5] How create sub component

2007-07-04 Thread David Avenante
Yes there is always workaround but what I liked in the definition of tapestry is : Tapestry is organized around four key principles: * Simplicity * Consistency * Efficiency * Feedback And I like the first term ;) I like to have SIMPLE file, easy readable and understandable. -

Re: [T5] How create sub component

2007-07-04 Thread Hugo Palma
Regarding helping the web designers get around the templates, i have found in the past that providing a master HTML file with server side includes to include the component templates that you want them to edit worked fine. It was actually a web designer that suggested this, I think they used Dreamw

Re: [T5] How create sub component

2007-07-04 Thread David Avenante
Yes I can understand but this approach is a big constraint, with big implication for my web designer who need to play in templates and need to have a good understanding of my templates hierarchy For me it's an issue with lot of limitation. A simple exemple : I want to create a component who can

Re: [T5] How create sub component

2007-07-03 Thread Nick Westgate
All components declared in a template or class for a component/page are "embedded components". They all share the same parent component/page which is returned by getContainer() as you've seen. This is completely separate from the DOM hierarchy that T5 builds as it renders. In that case you can na

[T5] How create sub component

2007-07-03 Thread David Avenante
Hi, I try to create sub compponent in T5 (5.0.5). My template is : Content In myComponent2 class when i try to access to the Container : @Inject private ComponentResources componentResources; componentResources.getContainer(), tapestry return to me my page and no