myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave <javao...@yahoo.com>
Subject <s:pprPanelGroup> does not work in <t:dataTable> cell
Date Mon, 30 Apr 2007 04:00:24 GMT
<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 outnew cars at Yahoo! Autos.
Mime
View raw message