You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org> on 2007/06/18 06:51:27 UTC

[jira] Commented: (TOMAHAWK-974) does not work inside

    [ https://issues.apache.org/jira/browse/TOMAHAWK-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505667 ] 

Martin Marinschek commented on TOMAHAWK-974:
--------------------------------------------

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

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
>
> <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.