Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-974

<pprPanelGroup> does not work inside <dataTable>

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.5
    • 1.1.7
    • PPRPanelGroup
    • None
    • Windows XP, IE, JBoss 4.0.5

    Description

      <pprPanelGroup> does not work inside <dataTable>. In render phase, the variable "book" becomes null.

      <h:form id="pprDataTable">

      <t:commandLink />

      <t:dataTable id="books"
      var="book"
      value="#

      {testBean.books}

      "
      rowCountVar="rowCount"
      rowIndexVar="rowIndex">

      <h:column>

      <h:panelGroup rendered="#

      {rowIndex==0}

      ">
      <s:pprPanelGroup id="ppr" partialTriggerPattern=".*foo">
      <t:selectOneMenu id="foo" value="#

      {book.title}"
      onchange="submit(this);"
      valueChangeListener="#{book.titleChanged}">
      <f:selectItem itemValue="Book1" itemLabel="Book1"/>
      <f:selectItem itemValue="Book2" itemLabel="Book2"/>
      <f:selectItem itemValue="Book3" itemLabel="Book3"/>

      </t:selectOneMenu>

      <h:outputText value="#{book.title}

      "/>
      </s:pprPanelGroup>
      </h:panelGroup>

      <h:panelGroup rendered="#

      {rowIndex>0}

      ">
      <h:outputText value="#

      {book.title}

      "/>
      </h:panelGroup>
      </h:column>

      </t:dataTable>

      </h:form>

      Attachments

        Activity

          People

            mmarinschek Martin Marinschek
            javaone9 Dave
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: