1 Reply Latest reply on May 2, 2008 2:38 PM by Ze Manel

    Target Unreachable, identifier 'tableManager' resolved to nu

    Ze Manel Newbie


      Since i can't post on JBoss Seam group, maybe no permissions, i'll post here (someone move this post to the right section please)

      I'm using:

      I think this is seam related problem:
      I created a dataTable on backbean and it works fine, then i created an expandable table on the xhtml page and it works fine, but if i use both at the same time on the same page, they are both rendered but when i try to expand/collapse the expandable table nothing happens unless an exception saying:

      09:24:39,878 WARN [lifecycle] executePhase(RESTORE_VIEW 1,com.icesoft.faces.context.BridgeFacesContext@127f2bb) threw exception
      javax.el.PropertyNotFoundException: /home.xhtml @25,62 binding="#{tableManager.dataTableContas}": Target Unreachable, identifier 'tableManager' resolved to null
       at com.sun.facelets.el.TagValueExpression.setValue(TagValueExpression.java:95)
       at com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:244)
       at com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:249)

      This is my table created on the tableManager backbean:

       <ice:dataTable binding="#{tableManager.dataTableContas}">

      And this is my table created on the .xhtml page:

       <ice:dataTable id="dataTableTest"
       var="salesRecord" columnClasses="expandableTableColumn">
       <f:facet name="header">
       <ice:column rowspan="3"></ice:column>
       <ice:column rowspan="3">teste </ice:column>
       <!-- contract/expand column -->
       <ice:panelGroup styleClass="#{salesRecord.indentStyleClass}">
       <!-- Render the expand/contract if there is an image -->
       <ice:commandLink id="expandCmdLnk"
       <ice:graphicImage id="expandContractImage"
       style="border: 0px solid;" />
       <!-- Description column -->
       <ice:panelGroup style="width: 60px;">
       <ice:outputText id="description"
       value="#{salesRecord.description}" />

      I saw some other posts related to binding so i tried to change the scope from CONVERSATION to SESSION/EVENT and it gives me an different exception:

      10:40:52,792 WARN [lifecycle] executePhase(RESTORE_VIEW 1,com.icesoft.faces.context.BridgeFacesContext@eb49a5) threw exception
       javax.el.PropertyNotFoundException: /home.xhtml @21,85 binding="#{tableManager.dataTableHeader}": Property 'dataTableHeader' not writable on type com.icesoft.faces.component.ext.HtmlDataTable
       at com.sun.facelets.el.TagValueExpression.setValue(TagValueExpression.java:95)
       at com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:244)

      Any idea what is causing this? thanks for any help