-
1. Re: Error when using rich:columns
sivaprasad9394 Apr 15, 2014 2:27 AM (in response to david-brighton)Hi,
Check with your TLD for a4j https://ajax4jsf.dev.java.net/ajax Its not accessible,
Try using <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%> in your page.
Thanks,
Siva
-
2. Re: Error when using rich:columns
david-brighton Apr 16, 2014 2:54 AM (in response to sivaprasad9394)Hi,
I have changed this as requested but I still get the same issue
For your info, the dmsBean.datamodel is an instance of a ListDataModel and the dmsBean.headings is a String[], are these the correct datatypes for this.
Thanks for your interest
David
<r:panel id="datafileViewPanel" rendered="#{dmsBean.renderDatafile}" >
<r:extendedDataTable id="viewer" value="#{dmsBean.dataModel}" var="row">
<f:facet name="header" >
<h:outputText value="Import Data" />
</f:facet>
<r:columns value="#{dmsBean.headings}" var="heading" index="ind" id="column#{ind}">
<f:facet name="header" >
<h:outputText value="#{heading}"/>
</f:facet>
</r:columns>
</r:extendedDataTable>