You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Dave (JIRA)" <de...@myfaces.apache.org> on 2007/04/30 10:27:15 UTC

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

<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


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


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

Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
     [ 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.


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

Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
    [ 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.