ICEfaces-EE
  1. ICEfaces-EE
  2. IPCK-363

RichDataGrid not working with MyFaces

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.0.0.BETA
    • Fix Version/s: EE-3.0.0.GA
    • Component/s: Facelet Components
    • Labels:
      None
    • Environment:
      n/a

      Description

      The RichDataGrid example is not being rendered when used with MyFaces 2.1.6. The following error results:


      java.lang.IllegalStateException: Client-id : increaseRows is duplicated in the faces tree. Component : frm:tabs:0:increaseRows, path: {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /showcase.xhtml][Class: javax.faces.component.html.HtmlBody,Id: __9][Class: com.icesoft.faces.component.ext.HtmlPanelGroup,Id: j_id_e][Class: javax.faces.component.html.HtmlForm,Id: frm][Class: com.icesoft.faces.component.paneltabset.PanelTabSet,Id: tabs][Class: com.icesoft.faces.component.paneltabset.PanelTab,Id: j_id_y_3][Class: org.apache.myfaces.view.facelets.tag.ui.ComponentRef,Id: j_id_y_4][Class: com.icesoft.faces.component.ext.HtmlPanelGroup,Id: j_id_y_5_1_1][Class: com.icesoft.faces.component.ext.HtmlPanelGroup,Id: j_id_y_5_1_e][Class: org.apache.myfaces.view.facelets.tag.ui.ComponentRef,Id: j_id_y_5_1_1w][Class: com.icesoft.faces.component.ext.HtmlPanelGroup,Id: richDataGrid2_wpr][Class: com.icesoft.faces.component.ext.HtmlPanelGroup,Id: richDataGrid2_dp][Class: com.icesoft.faces.component.ext.HtmlPanelGroup,Id: j_id_y_5_1_2k][Class: com.icesoft.faces.component.ext.HtmlPanelGroup,Id: j_id_y_5_1_31][Class: com.icesoft.faces.component.ext.HtmlCommandButton,Id: increaseRows]}
      at org.apache.myfaces.application.StateManagerImpl.checkForDuplicateIds(StateManagerImpl.java:277)
      at org.apache.myfaces.application.StateManagerImpl.checkForDuplicateIds(StateManagerImpl.java:299)
      at org.apache.myfaces.application.StateManagerImpl.checkForDuplicateIds(StateManagerImpl.java:299)
      at org.apache.myfaces.application.StateManagerImpl.checkForDuplicateIds(StateManagerImpl.java:299)
      at org.apache.myfaces.application.StateManagerImpl.checkForDuplicateIds(StateManagerImpl.java:299)
      at org.apache.myfaces.application.StateManagerImpl.checkForDuplicateIds(StateManagerImpl.java:299)
      at org.apache.myfaces.application.StateManagerImpl.checkForDuplicateIds(StateManagerImpl.java:299)
      at org.apache.myfaces.application.StateManagerImpl.checkForDuplicateIds(StateManagerImpl.java:299)
      at org.apache.myfaces.application.StateManagerImpl.checkForDuplicateIds(StateManagerImpl.java:299)
      at org.apache.myfaces.application.StateManagerImpl.checkForDuplicateIds(StateManagerImpl.java:299)
      at org.apache.myfaces.application.StateManagerImpl.checkForDuplicateIds(StateManagerImpl.java:299)
      at org.apache.myfaces.application.StateManagerImpl.checkForDuplicateIds(StateManagerImpl.java:299)
      at org.apache.myfaces.application.StateManagerImpl.checkForDuplicateIds(StateManagerImpl.java:299)
      at org.apache.myfaces.application.StateManagerImpl.checkForDuplicateIds(StateManagerImpl.java:299)
      at org.apache.myfaces.application.StateManagerImpl.checkForDuplicateIds(StateManagerImpl.java:299)
      at org.apache.myfaces.application.StateManagerImpl.saveView(StateManagerImpl.java:217)
      at javax.faces.application.StateManager.getViewState(StateManager.java:253)
      at org.icefaces.impl.context.DOMPartialViewContext.renderState(DOMPartialViewContext.java:519)
      at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:222)
      at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:402)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:755)
      at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.renderView(FaceletViewDeclarationLanguage.java:1900)
      at org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:285)
      at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:115)
      at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:241)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:199)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
      at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:964)
      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
      at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:304)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:680)

        Activity

        Philip Breau created issue -
        Hide
        Philip Breau added a comment -

        After recent fix to UISeriesBase the RichDataGrid is rendering the table but rows are not becoming editable.

        Show
        Philip Breau added a comment - After recent fix to UISeriesBase the RichDataGrid is rendering the table but rows are not becoming editable.
        Hide
        Philip Breau added a comment -

        30668 3/4/12 7:31 PM 5 philip.breau IPCK-363 RichDataGrid not working with MyFaces - fix MyFaces not automatically passing UIParams to all descendent templates - fix IndexOutBounds occurring in RichDataGridBean.findNextContainerSiblingOfColumn

        Show
        Philip Breau added a comment - 30668 3/4/12 7:31 PM 5 philip.breau IPCK-363 RichDataGrid not working with MyFaces - fix MyFaces not automatically passing UIParams to all descendent templates - fix IndexOutBounds occurring in RichDataGridBean.findNextContainerSiblingOfColumn
        Philip Breau made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s EE-3.0.0.GA [ 10261 ]
        Resolution Fixed [ 1 ]
        Hide
        Philip Breau added a comment -

        outstanding issue is javax.faces.component.UpdateModelException</error-name><error-message><![CDATA[org.apache.myfaces.view.facelets.el.ContextAwarePropertyNotFoundException: javax.el.PropertyNotFoundException: Property 'clazz' not writable on type java.lang.String]]></error-message></error><

        Show
        Philip Breau added a comment - outstanding issue is javax.faces.component.UpdateModelException</error-name><error-message><![CDATA [org.apache.myfaces.view.facelets.el.ContextAwarePropertyNotFoundException: javax.el.PropertyNotFoundException: Property 'clazz' not writable on type java.lang.String] ]></error-message></error><
        Philip Breau made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Hide
        Philip Breau added a comment -

        30717 3/10/12 4:05 PM 2 philip.breau IPCK-363 RichDataGrid not working with MyFaces

        Show
        Philip Breau added a comment - 30717 3/10/12 4:05 PM 2 philip.breau IPCK-363 RichDataGrid not working with MyFaces
        Philip Breau made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Philip Breau
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: