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:38:28 UTC

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

     [ http://issues.apache.org/jira/browse/MYFACES-803?page=all ]
     
Bruno Aranda closed MYFACES-803:
--------------------------------

    Resolution: Invalid

> 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