[
https://issues.apache.org/jira/browse/TOMAHAWK-974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Marinschek resolved TOMAHAWK-974.
----------------------------------------
Resolution: Fixed
Fix Version/s: 1.1.7-SNAPSHOT
Also included example to show the pprPanelGroup in a dataTable working.
regards,
Martin
> <pprPanelGroup> does not work inside <dataTable>
> ------------------------------------------------
>
> Key: TOMAHAWK-974
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-974
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: PPRPanelGroup
> Affects Versions: 1.1.5
> Environment: Windows XP, IE, JBoss 4.0.5
> Reporter: Dave
> Assignee: Martin Marinschek
> Fix For: 1.1.7-SNAPSHOT
>
>
> <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>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.