I'm trying to use some of the extended Tomahawk components and
attributes in a Clay web page. The table is being configured with:
<component jsfid="instructorCourseReportTable" extends="t:dataTable">
<attributes>
<set name="value" value="[EMAIL PROTECTED]" />
<set name="var" value="student" />
<set name="rowClasses" value="name" />
<set name="id" value="instructorReport" />
<set name="forceId" value="true" />
</attributes>
...
</component>
But the forceId tag is being ignored. In the Tomahawk clay-config.xml
file attached to this JIRA issue,
https://issues.apache.org/jira/browse/TOMAHAWK-70, has the following:
<component jsfid="t:dataTable"
componentType="org.apache.myfaces.HtmlDataTable" extends="baseHtml">
<attributes>
<set name="id" bindingType="VB"/>
....
<set name="forceId" bindingType="VB"/>
....
</attributes>
</component>
Also, the Tomahawk HtmlColumn extension has an attribute for setting the
cell style class on a per cell basis. I tried adding the attribute to
the t:column component configuration by adding a <set name="styleClass"
value="VB" />
<component jsfid="t:column"
componentType="org.apache.myfaces.HtmlColumn" extends="baseHtml">
<attributes>
<set name="id" bindingType="VB"/>
...
<set name="styleClass" bindingType="VB"/>
...
</attributes>
</component>
When I try and use it with:
<component jsfid="myTableColumn" extends="t:column">
<attributes>
<set name="styleClass" value="[EMAIL PROTECTED]" />
</attributes>
...
</component>
The styleClass attribute is ignored. Any idea why this might be?
Thanks,
Rich
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]