MyFaces Tomahawk
  1. MyFaces Tomahawk
  2. TOMAHAWK-974

<pprPanelGroup> does not work inside <dataTable>

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.5
    • Fix Version/s: 1.1.7
    • Component/s: PPRPanelGroup
    • Labels:
      None
    • Environment:
      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>

        Activity

        Dave created issue -
        Martin Marinschek made changes -
        Field Original Value New Value
        Assignee Martin Marinschek [ mmarinschek ]
        Hide
        Martin Marinschek added a comment -

        Will be fixed by my commit in a minute. Enjoy the new feature!

        regards,

        Martin

        Show
        Martin Marinschek added a comment - Will be fixed by my commit in a minute. Enjoy the new feature! regards, Martin
        Hide
        Martin Marinschek added a comment -

        Also included example to show the pprPanelGroup in a dataTable working.

        regards,

        Martin

        Show
        Martin Marinschek added a comment - Also included example to show the pprPanelGroup in a dataTable working. regards, Martin
        Martin Marinschek made changes -
        Resolution Fixed [ 1 ]
        Fix Version/s 1.1.7-SNAPSHOT [ 12312361 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Leonardo Uribe made changes -
        Fix Version/s 1.1.7 [ 12313398 ]
        Fix Version/s 1.1.7-SNAPSHOT [ 12312361 ]
        Leonardo Uribe made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Martin Marinschek
            Reporter:
            Dave
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development