Do I have to keep state for the dataList? Is there a requirement that my data
is saved
in session when I use the dataList? I don't understand why it's trying to
restore the
state of descendent components. Why doesn't doesn't it just loop through list
and lay
them out again?
java.lang.NullPointerException
at javax.faces.component.UIData.restoreDescendantComponentStates
(UIData.java:432)
at javax.faces.component.UIData.restoreDescendantComponentStates
(UIData.java:436)
at javax.faces.component.UIData.restoreDescendantComponentStates
(UIData.java:436)
at javax.faces.component.UIData.setRowIndex(UIData.java:191)
at org.apache.myfaces.custom.datalist.HtmlDataList.setRowIndex
(HtmlDataList.java:69)
at org.apache.myfaces.custom.datalist.HtmlListRenderer.encodeChildren
(HtmlListRenderer.java:137)
at javax.faces.component.UIComponentBase.encodeChildren
(UIComponentBase.java:329)
at
javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:380)
at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:288)
at org.apache.myfaces.taglib.UIComponentBodyTagBase.doEndTag
(UIComponentBodyTagBase.java:98)
at org.apache.jsp.inc.scroller_jsp._jspx_meth_x_dataList_1
(scroller_jsp.java:1606)
--
Rob
@objectsource.org