Oh that is great !!! I never knew we could do these things using Clay. But I have some questions about ur example, 1) <span jsfid="loadBundle" var="messages" basename="com.acme.mywidgets" /> I guess it is ur custom component.. What is baseName ? Could you explain this line for me.
2) <input id="city" type=text value="#{managed-bean-name.city}" size=25/> (assumed mapping to outputText) What you mean by "mapping to outputText" ? Gary please do create thrid rolodex example using this method. On 9/20/05, Gary VanMatre <[EMAIL PROTECTED]> wrote: > > >Hi Guys: > > > >I am evaluvating Shale for upcoming project. I wanted to use HTML rather > >than JSP like Tapestry. I just want to know what you guys think about > Clay > >and Facelets. One thing I liked about Facelets is it doesnt need any > extra > >xml file to define jsf components . > > This is also true for clay HTML templating (as of 09-19). For example: > > <span jsfid="loadBundle" var="messages" basename="com.acme.mywidgets" /> > <table> > <tr> > <td> > #{messages.city}: > <td> > <span jsfid="outputText" id="city" value="#{managed-bean-name.city}" > size=25/> or > <input id="city" type=text value="#{managed-bean-name.city}" size=25/> > (assumed mapping to outputText) > </table> > <input id="submit" type="submit" value="#{messages.save}" action="#{ > managed-bean-name.save}" > > > The HTML attributes are passed thru to the component values. The > attributes that are passed thru are defined in the default clay config file > found under META-INF of the clay jar. > > I was thinking about creating a third rolodex example that used this > method. > > Gary > > > >Rgds, > >--Siva Jagadeesan > > > > >