0 Replies Latest reply on Feb 22, 2012 4:21 AM by msansm1

    Target Unreachable, identifier 'section' resolved to null

    msansm1 Newbie

      Hello,

       

      I'm developping an application with RichFaces 3.3.3_Final (JSF2 impl), on JBoss AS 6.1.

      I have a part of a table that is generated in the java code, and i'm trying to display it like that :

       

      <a4j:repeat value="#{jobForm.sections}" var="section">

          <tr style='width:100%'><td>

                <rich:simpleTogglePanel switchType="client" label="#{section.title}" rendered="#{jobForm.panelVisibility[section.panel.id] != 'false'}" style="width:100%; border:0px;">

                       <h:panelGrid binding="#{section.panel}"/>

                </rich:simpleTogglePanel>

          </td></tr>

      </a4j:repeat>

       

       

       

      I have tried few other ways, but every time i want to bind my panelGrid the same error came, saying that section is null :

       

      org.apache.jasper.el.JspPropertyNotFoundException: /templates/jobform.jsp(414,9) '#{section.panel}' Target Unreachable, identifier 'section' resolved to null

         org.apache.jasper.el.JspValueExpression.setValue(JspValueExpression.java:91)

         com.sun.faces.application.ApplicationImpl.createComponentApplyAnnotations(ApplicationImpl.java:1886)

         com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:443)

         javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:218)

         javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicTagBase.java:483)

         javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:667)

         javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1139)

         com.sun.faces.taglib.html_basic.PanelGridTag.doStartTag(PanelGridTag.java:364)

       

       

      I don't understand what is the problem, since the label of the simpleTogglePanel works well....

       

      If anyone has an idea, thanks.