[JBoss JIRA] Created: (RF-8496) rich:dataTable can not be put inside rich:dataList
by Dave Chen (JIRA)
rich:dataTable can not be put inside rich:dataList
--------------------------------------------------
Key: RF-8496
URL: https://jira.jboss.org/jira/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
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/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 2 months
[JBoss JIRA] Created: (RF-9370) Modifiable Data Table sort not evaluated if used inside Facelets taglib components
by Luca Molteni (JIRA)
Modifiable Data Table sort not evaluated if used inside Facelets taglib components
----------------------------------------------------------------------------------
Key: RF-9370
URL: https://jira.jboss.org/browse/RF-9370
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.3.1
Environment: JBoss EAP 5.1 - Windows Vista
Reporter: Luca Molteni
sortField.getExpression().getExpressionString() gives me the value "#{sortBy}" instead of evaluating the value when used in a facelet component defined as
<ui:composition>
<rich:column sortBy="#{sortBy}" width="#{width}" styleClass="#{styleClass}">
<f:facet name="header">#{header}</f:facet>
<ui:insert />
</rich:column>
</ui:composition>
Then in taglib.xml
<tag>
<tag-name>column</tag-name>
<source>column.xhtml</source>
</tag>
and then
<x:column header="Foo" sortBy="#{row.foo}">#{row.foo}</x:column>
--
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
14 years, 2 months