[richfaces-issues] [JBoss JIRA] Commented: (RF-8496) rich:dataTable can not be put inside rich:dataList
Dave Chen (JIRA)
jira-events at lists.jboss.org
Sat Oct 16 00:24:39 EDT 2010
[ https://jira.jboss.org/browse/RF-8496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557461#action_12557461 ]
Dave Chen commented on RF-8496:
-------------------------------
should it be the extension of h:dataTable? it is normal to be extension of a standard. We like to use ajax ability of rich:dataTable by moving from t:dataTabe. But this limitation says "no" to us.
> rich:dataTable can not be put inside rich:dataList
> --------------------------------------------------
>
> Key: RF-8496
> URL: https://jira.jboss.org/browse/RF-8496
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables
> Environment: RichFaces 3.3.1
> Reporter: Dave Chen
> Assignee: Nick Belaevski
>
> test case: dataList1.jsp
> <rich:dataList value="#{backingBean.beanList}" var="bean">
>
> <h:form>
> <rich:dataTable
> var="book"
> value="#{bean.books}">
>
> <rich:columns value="#{bean.properties}" var="p">
> <f:facet name="header">
> <h:outputText value="#{p.name}"/>
> </f:facet>
> <h:outputText value="#{p.value}"/>
> </rich:columns>
>
> </rich:dataTable>
>
> </h:form>
> </rich:dataList>
> javax.servlet.jsp.JspTagException: FOREACH_BAD_ITEMS
> at org.richfaces.iterator.SimpleForEachIterator.toForEachIterator(SimpleForEachIterator.java:135)
> at org.richfaces.iterator.SimpleForEachIterator.supportedTypeForEachIterator(SimpleForEachIterator.java:98)
> at org.richfaces.taglib.ColumnsTag.prepare(ColumnsTag.java:539)
> at org.richfaces.taglib.ColumnsTag.doStartTag(ColumnsTag.java:299)
> at org.apache.jsp.test.dataList1_jsp._jspx_meth_rich_005fcolumns_005f0(dataList1_jsp.java:338)
> at org.apache.jsp.test.dataList1_jsp._jspx_meth_rich_005fdataTable_005f0(dataList1_jsp.java:302)
> at org.apache.jsp.test.dataList1_jsp._jspx_meth_h_005fform_005f0(dataList1_jsp.java:249)
> at org.apache.jsp.test.dataList1_jsp._jspx_meth_rich_005fdataList_005f0(dataList1_jsp.java:207)
> at org.apache.jsp.test.dataList1_jsp._jspx_meth_f_005fview_005f0(dataList1_jsp.java:141)
> at org.apache.jsp.test.dataList1_jsp._jspService(dataList1_jsp.java:97)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> From debug: #{bean.properties} is evaluated to be NULL.
> each bean's properties can be different, so it can not be written as #{backingBean.properties}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list