3 Replies Latest reply on Aug 7, 2009 5:07 PM by Alexander Smirnov

    Using matrix of Doubles as data source for rich:dataTable

    Leonid Sokolin Newbie

      I am trying to use Vector<Vector> as the source of data for rich:dataTable and getting the following error:

      17:28:13,218 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/NBP].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
      com.sun.facelets.FaceletException: Error Parsing /piQueryTool.xhtml: Error Traced[line: 143] The value of attribute "value" associated with an element type "h:outputText" must not contain the '<' character.

      Could somebody advise how I could do it?

      Please see the code snippet below:

      <div id="tableDiv" style="visibility:visible">
       <h:panelGrid columns="2">
       <rich:dataTable id="returnedData" value="#{piQueryToolBean.retData}" var="dataItems" >
       <f:facet name="header"><h:outputText value="Performance Statistics" /></f:facet>
       <rich:columns value="#{piQueryToolBean.statistics}" var="columns" index="ind" >
       <f:facet name="header">
       <h:outputText value="#{columns.displayName} />
       <h:outputText value="#{dataItems[index]}" />

      Java code declaration:

      private Vector<Vector> retData;

      Would appreciate any advice.