>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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]