Hi Thanks. Your and others suggestion about defining the component in my clay-config.xml file is what I starting to think about. Your hint about the toggle stuff was realy valuable.
I guess we should try to create a place on the wiki or somthing where people could submit these definitions for various JSF components. Hermod -----Original Message----- From: Ryan Wynn [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 28, 2005 8:29 PM To: Struts Developers List Subject: Re: [shale] Tomahawk in Clay pure html I have had success using most of the tomahawk components including tree2. The only tricky part is that some times the attribute names on the UIComponents are not the same as the attribute names on the jsp tag. In which case the tomahawk jsp tags are doing the conversion. Here's what I have for tree2 <component jsfid="t:tree2" componentType="org.apache.myfaces.HtmlTree2"> <attributes> <set name="value" bindingType="VB" /> <set name="var" bindingType="VB" /> <set name="varNodeToggler" bindingType="VB" /> <set name="showNav" bindingType="VB" /> <set name="showLines" bindingType="VB" /> <set name="clientSideToggle" bindingType="VB" /> <set name="showRootNode" bindingType="VB" /> <set name="preserveToggle" bindingType="VB" /> <set name="javascriptLocation" bindingType="VB" /> <set name="imageLocation" bindingType="VB" /> <set name="styleLocation" bindingType="VB" /> <set name="id" bindingType="VB" /> <set name="rendered" bindingType="VB" /> <set name="binding" bindingType="VB" /> <set name="org.apache.myfaces.tree2.CLIENT_SIDE_TOGGLE" bindingType="VB" /> <set name="org.apache.myfaces.tree2.PRESERVE_TOGGLE" bindingType="VB" /> </attributes> </component> You will notice what I am talking about with the attributes names by the long winded names for the toggle attributes. This has been discussed on the mailing lists before because the awkwardness also applies to facelets or any view technology that bypasses the tags. Hopefully the names will become simpler in the future. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This email with attachments is solely for the use of the individual or entity to whom it is addressed. Please also be aware that the DnB NOR Group cannot accept any payment orders or other legally binding correspondence with customers as a part of an email. This email message has been virus checked by the virus programs used in the DnB NOR Group. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
