0 Replies Latest reply on Jan 11, 2008 8:02 AM by donatello santoro

    rich:panelBar in dataList

    donatello santoro Newbie

      Hi. I have a problem with rich:panelBar e rich:dataList. Maybe is a bug?

      well. this code

      <f:view>
      <h:form>
      <rich:dataList value="#{fooo.testList}">

      <h:commandLink value="Test" action="home.faces"/>

      <rich:panelBar>
      <rich:panelBarItem label="foo">
      </rich:panelBarItem>
      <rich:panelBarItem label="bar">
      </rich:panelBarItem>
      </rich:panelBar>

      </rich:dataList>
      </h:form>
      </f:view>

      works fine with richfaces 3.1.2 but with the versione 3.1.3.GA i have this problem

      java.lang.IllegalArgumentException: j_id_jsp_1744828248_1
      javax.faces.component.UIComponentBase.findComponent(UIComponentBase.java:588)
      org.richfaces.renderkit.html.PanelBarRendererBase.expanded(PanelBarRendererBase.java:66)
      org.richfaces.renderkit.html.PanelBarRenderer.doEncodeEnd(PanelBarRenderer.java:167)
      org.richfaces.renderkit.html.PanelBarRenderer.doEncodeEnd(PanelBarRenderer.java:182)
      org.ajax4jsf.renderkit.RendererBase.encodeEnd(RendererBase.java:135)
      javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:833)
      org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:286)
      org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:262)
      org.richfaces.renderkit.AbstractListRenderer.encodeOneRow(AbstractListRenderer.java:49)
      org.richfaces.renderkit.AbstractRowsRenderer.process(AbstractRowsRenderer.java:87)
      org.ajax4jsf.model.SequenceDataModel.walk(SequenceDataModel.java:101)
      org.ajax4jsf.component.UIDataAdaptor.walk(UIDataAdaptor.java:994)
      org.richfaces.renderkit.AbstractRowsRenderer.encodeRows(AbstractRowsRenderer.java:107)
      org.richfaces.renderkit.AbstractRowsRenderer.encodeRows(AbstractRowsRenderer.java:92)
      org.richfaces.renderkit.AbstractRowsRenderer.encodeChildren(AbstractRowsRenderer.java:139)
      javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)


      The jar that i use for richfaces are
      commons-beanutils-1.7.0.jar
      commons-collections-3.2.jar
      commons-collections-3.2.jar
      richfaces-api-3.1.3.GA.jar
      richfaces-impl-3.1.3.GA.jar
      richfaces-ui-3.1.3.GA.jar