This content has been marked as final.
Show 5 replies
-
1. Re: Tomahawk and JBoss Portal bug?
theute Nov 7, 2006 10:55 AM (in response to indyjones)It's a JSF question.
datatable is not a tomahawk component it's part of the spec.
The correct taglib is usually prefixed by h, h:datatable -
2. Re: Tomahawk and JBoss Portal bug?
indyjones Nov 7, 2006 11:01 AM (in response to indyjones)This is what I am trying to do...
http://myfaces.apache.org/tomahawk/columns.html<t:datatable value="#{rows}" var="row"> <t:columns value="#{cols}" var="column"> <f:facet name="header" value="#{column.name}"/> <h:outputText value="#{row.columnValue}"/> </t:columns> </t:datatable>
JBoss cant find the "t:datatable" component. Is this code supported by JBoss Portal?
Thanks for your response...
Indy -
3. Re: Tomahawk and JBoss Portal bug?
theute Nov 7, 2006 11:12 AM (in response to indyjones)
It's dataTable not datatable (uppercase T)
JBoss doesn't "care" about the JSF inclusion. The only thing is that some tomahawk components are written to run only in a servlet environment and would not work in a portlet environment, this is not the problem here. -
4. Re: Tomahawk and JBoss Portal bug?
theute Nov 7, 2006 11:15 AM (in response to indyjones)oups, it shouldn't make a difference.
Well it should work, if it doesn't, i suspect that your code wouldn't work outside the portal. -
5. DOH!
indyjones Nov 7, 2006 11:17 AM (in response to indyjones)My bad...
You are correct.
I was using datatable.
I was just using the code example from the Tomahawk example...
Thanks
Indy