This content has been marked as final.
Show 3 replies
-
1. Re: Using matrix of Doubles as data source for rich:dataTabl
lenyas66 Aug 3, 2009 6:48 PM (in response to lenyas66)The error was coming from missing quote in outputText definition below:
<h:outputText value="#{columns.displayName}" />
Still, I can't see it processing the values contained in retData.
It throws an exception instead:18:40:34,178 ERROR [org.richfaces.taglib.ColumnsHandler] FOREACH_BAD_ITEMS
javax.servlet.jsp.JspTagException: FOREACH_BAD_ITEMS -
2. Re: Using matrix of Doubles as data source for rich:dataTabl
lenyas66 Aug 3, 2009 6:53 PM (in response to lenyas66)One more correction:
The declaration in Java is obviouslyprivate Vector<Vector<Double>> retData;
-
3. Re: Using matrix of Doubles as data source for rich:dataTabl
alexsmirnov Aug 7, 2009 5:07 PM (in response to lenyas66)Jsf has no standard DataModel instance for Vector's data. Use java.util.List instead or create your own DataModel that works with vectors.