orderingList: javax.faces.FacesException take place after submit.
-----------------------------------------------------------------
Key: RF-4449
URL:
https://jira.jboss.org/jira/browse/RF-4449
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: IE6, IE7, FF 3.1, Safari 3.1, Opera 9.52(3.2.2.GA)
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
Priority: Critical
#1. Add rich:orderingList on the jsp:
<h:form>
<h:messages />
<rich:orderingList var="item" listHeight="300"
listWidth="350"
required="true" value="#{orderingList.list}">
<rich:column>
<f:facet name="header">
<h:outputText value="Artist Name" />
</f:facet>
<h:outputText value="#{item.str0}"></h:outputText>
</rich:column>
</rich:orderingList>
<h:commandButton value="submit" />
</h:form>
#2. orderingList.list - following collection ArrayList<Data>, where Data is a class
with "str0" property.
#3. Navigate to the page.
#4. Click "submit" button.
Actual behavior:
javax.faces.FacesException: Exception while calling encodeEnd on component :
{Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId:
/CustomizePage/CustomizePage.jsp][Class: javax.faces.component.html.HtmlForm,Id:
j_id_jsp_776307666_1][Class: org.richfaces.component.html.HtmlOrderingList,Id:
j_id_jsp_776307666_3][Class: org.richfaces.component.html.HtmlColumn,Id:
j_id_jsp_776307666_4][Class: javax.faces.component.html.HtmlOutputText,Id:
j_id_jsp_776307666_6]}
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:626)
at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:286)
at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:262)
at
org.richfaces.renderkit.OrderingListRendererBase.encodeOneRow(OrderingListRendererBase.java:187)
at org.richfaces.renderkit.AbstractRowsRenderer.process(AbstractRowsRenderer.java:86)
at org.richfaces.model.OrderingListDataModel.walk(OrderingListDataModel.java:49)
at org.ajax4jsf.component.UIDataAdaptor.walk(UIDataAdaptor.java:1151)
at
org.richfaces.renderkit.AbstractRowsRenderer.encodeRows(AbstractRowsRenderer.java:106)
at
org.richfaces.renderkit.OrderingListRendererBase.encodeRows(OrderingListRendererBase.java:111)
at
org.richfaces.renderkit.AbstractRowsRenderer.encodeChildren(AbstractRowsRenderer.java:138)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:610)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:250)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:257)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:257)
at
org.apache.myfaces.application.jsp.JspViewHandlerImpl.actuallyRenderView(JspViewHandlerImpl.java:427)
at
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:383)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:196)
at
org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:155)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:177)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:380)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:507)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.faces.FacesException: Could not retrieve value of component with path :
{Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId:
/CustomizePage/CustomizePage.jsp][Class: javax.faces.component.html.HtmlForm,Id:
j_id_jsp_776307666_1][Class: org.richfaces.component.html.HtmlOrderingList,Id:
j_id_jsp_776307666_3][Class: org.richfaces.component.html.HtmlColumn,Id:
j_id_jsp_776307666_4][Class: javax.faces.component.html.HtmlOutputText,Id:
j_id_jsp_776307666_6]}
at
org.apache.myfaces.shared_impl.renderkit.RendererUtils.getValue(RendererUtils.java:331)
at
org.apache.myfaces.shared_impl.renderkit.RendererUtils.getStringValue(RendererUtils.java:279)
at
org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.renderOutput(HtmlTextRendererBase.java:74)
at
org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.encodeEnd(HtmlTextRendererBase.java:61)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:623)
... 38 more
Caused by: org.apache.jasper.el.JspPropertyNotFoundException:
/CustomizePage/CustomizePage.jsp(20,4) '#{item.int0}' Property 'int0' not
found on type java.lang.String
at org.apache.jasper.el.JspValueExpression.getValue(JspValueExpression.java:104)
at javax.faces.component.UIOutput.getValue(UIOutput.java:73)
at
org.apache.myfaces.shared_impl.renderkit.RendererUtils.getValue(RendererUtils.java:327)
... 42 more
--
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