Hi,

This is indeed an issue with the current implementation and we are working
on that problem. For the time being you might want to put the whole
dataTable into a pprPanelGroup like in

http://example.irian.at/example-sandbox-20070501/pprPanelGroupDataScroller.jsf

regards

Ernst

On 4/30/07, Dave <[EMAIL PROTECTED]> wrote:
<s:pprPanelGroup> does not work in <t:dataTable> cell.  The book variable
becomes null in Render phase.  Is there a workaround? Thanks!


<h:form>
<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>

 ________________________________
Ahhh...imagining that irresistible "new car" smell?
 Check out new cars at Yahoo! Autos.


Reply via email to