6 Replies Latest reply on Jul 16, 2008 5:06 AM by Andrei Markavtsov

    rich:columns Problem, anybody can help?

    yang xiaohui Newbie

      it doesn't work at all

      <rich:dataTable id="richColumnsID" value="#{columns.data1}" var="d1" rendered="#{columns.dataTableRendered}">
      <rich:columns id="abc" value="#{columns.data2}" var="d2">
      <f:facet name="header">
      <h:outputText id="text" value="header #{d2.int0}"></h:outputText>
      </f:facet>
      
      <h:outputText value="ABC" />
      </rich:columns>
      </rich:dataTable>
      

      java.lang.IllegalStateException: duplicate Id for a component formID:columnsSubviewID:richColumnsID:text
      org.ajax4jsf.application.TreeStrutureNode.apply(TreeStrutureNode.java:50)
      org.ajax4jsf.application.TreeStrutureNode.apply(TreeStrutureNode.java:60)
      org.ajax4jsf.application.TreeStrutureNode.apply(TreeStrutureNode.java:72)
      org.ajax4jsf.application.TreeStrutureNode.apply(TreeStrutureNode.java:72)
      org.ajax4jsf.application.TreeStrutureNode.apply(TreeStrutureNode.java:72)
      org.ajax4jsf.application.TreeStrutureNode.apply(TreeStrutureNode.java:72)
      org.ajax4jsf.application.TreeStrutureNode.apply(TreeStrutureNode.java:72)
      org.ajax4jsf.application.TreeStrutureNode.apply(TreeStrutureNode.java:72)
      org.ajax4jsf.application.AjaxStateManager.getTreeStructureToSave(AjaxStateManager.java:166)
      org.ajax4jsf.application.AjaxStateManager.buildSerializedView(AjaxStateManager.java:273)
      org.ajax4jsf.application.AjaxStateManager.saveSerializedView(AjaxStateManager.java:257)
      javax.faces.application.StateManager.saveView(StateManager.java:166)
      com.sun.faces.application.ViewHandlerImpl$WriteBehindStateWriter.flushToWriter(ViewHandlerImpl.java:930)
      com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:212)
      org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
      org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:189)
      com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
      com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
      com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
      org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:154)
      org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:260)
      org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:366)
      org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:493)