Re: [Shale] clay templating

2005-09-21 Thread Maksimenko Alexander
Gary VanMatre wrote: Maksimenko Alexander wrote: yes it will work too but needs useless duplications of jsfid in mapping element (I afraid of duplications ;)) In this case the last one registered would win. We have the same thing with JSF components and managed beans? why it&#

Re: [Shale] clay templating

2005-09-21 Thread Maksimenko Alexander
Gary VanMatre wrote: That is only true for things defined as "component". Things defined as "component" are top-level. That really means that they are an entry in the Map that caches the digested XML file. When you use the jsfid for an "element", it kind of works like and a java

Re: [Shale] clay templating

2005-09-20 Thread Maksimenko Alexander
So I have to invent some naming conventions for jsfid to prevent that a child from one html template won't have the same name as another child ;( Thanks for clarifications That is only true for things defined as "component". Things defined as "component" are top-level. That really mea

Re: [Shale] clay templating

2005-09-20 Thread Maksimenko Alexander
Gary VanMatre wrote: Gary VanMatre wrote: Another question about html views (since they are more interesting in practical use). For example I have main.html component and profile.html component. The both have submit buttons - but I want distinguish that one button is for main.html and a

Re: [Shale] clay templating

2005-09-20 Thread Maksimenko Alexander
Gary VanMatre wrote: Another question about html views (since they are more interesting in practical use). For example I have main.html component and profile.html component. The both have submit buttons - but I want distinguish that one button is for main.html and another one - for profile.htm

Re: [Shale] clay templating

2005-09-20 Thread Maksimenko Alexander
Gary VanMatre wrote: The only difference is instead of in profile screen I need profile.html and in main I need main.html components. How can I do this? Well... to me, this sounds like a job for Tiles. Gary, what do you think? Yes, I agree. The role of Clay is to glue togather

Re: [Shale] clay templating

2005-09-19 Thread Maksimenko Alexander
Thanks for your answer! great that I finally found you, guys :) your answer is very clear but I need some details: about html template approach: lets there is two screens "profile" and "main". Layout of them is defined by layout.html #{managed-bean-name.title}

[Shale] clay templating

2005-09-19 Thread Maksimenko Alexander
Hi! I don't know is there proper place for discussing shale. If it's not can you point me to correct mailing list I'm using JSF and looking for good rendering/template framework. Remembering that Shale is created by those people who have done Struts I prefer using it instead of faceletes ;)