You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Bruno Aranda (JIRA)" <de...@myfaces.apache.org> on 2005/11/15 22:44:28 UTC

[jira] Commented: (MYFACES-803) Same problem with the t:datatable ...

    [ http://issues.apache.org/jira/browse/MYFACES-803?page=comments#action_12357731 ] 

Bruno Aranda commented on MYFACES-803:
--------------------------------------

The fix for MYFACES-827 now allows to use other components different to UIPanel (and similar) as children for the facet. The popup in your example could now work, because the outputText in the facet was not included in a panelGroup. Now it should work with the SVN and the next nightly build.

Regards,

> Same problem with the t:datatable ...
> -------------------------------------
>
>          Key: MYFACES-803
>          URL: http://issues.apache.org/jira/browse/MYFACES-803
>      Project: MyFaces
>         Type: Sub-task
>   Components: Tomahawk
>     Reporter: Hans Meusch
>  Attachments: Result.txt
>
> Same problem with dataTable: iteration is not done within facet - here: benef.description is always the first element of the list.
> (Bug-Code)
> <t:dataTable value="#{projectBenefitBean.data11}" var="benef">
> 	<h:column>
> 		<x:popup styleClass="popup">
>     	<h:outputText value="#{benef.description}"/>
> 		     <f:facet name="popup">
>      			<h:panelGroup>
> 		    		<h:outputText value="#{benef.description}"/>
> 					<h:commandLink rendered="#{projectBenefitBean.mode == 0}"  styleClass="BENEFITBUTTON">
> 						<f:param value="1" name="col"/>
> 						<f:param value="1" name="row"/>	
> 						<h:outputText value="changes"/>
> 					</h:commandLink>
> 	     		</h:panelGroup>
> 		      </f:facet>
> 		  </x:popup>
> 	  </h:column>
> </t:dataTable>
> This code works fine ... (using h:datatable instead of t:datatable):
> <h:dataTable value="#{projectBenefitBean.data11}" var="benef">
> 	<h:column>
> 		<x:popup styleClass="popup">
>     	<h:outputText value="#{benef.description}"/>
> 		     <f:facet name="popup">
>      			<h:panelGroup>
> 		    		<h:outputText value="#{benef.description}"/>
> 					<h:commandLink rendered="#{projectBenefitBean.mode == 0}"  styleClass="BENEFITBUTTON">
> 						<f:param value="1" name="col"/>
> 						<f:param value="1" name="row"/>	
> 						<h:outputText value="changes"/>
> 					</h:commandLink>
> 	     		</h:panelGroup>
> 		      </f:facet>
> 		  </x:popup>
> 	  </h:column>
> </h:dataTable>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira