You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mathias Broekelmann (JIRA)" <my...@incubator.apache.org> on 2005/10/11 20:47:06 UTC

[jira] Commented: (MYFACES-694) t:dataTable bind calculate order error

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

Mathias Broekelmann commented on MYFACES-694:
---------------------------------------------

forgot the link for the HTML 4.01 spec:

http://www.w3.org/TR/html4/struct/tables.html#h-11.2.3

> t:dataTable bind calculate  order error
> ---------------------------------------
>
>          Key: MYFACES-694
>          URL: http://issues.apache.org/jira/browse/MYFACES-694
>      Project: MyFaces
>         Type: Bug
>   Components: Tomahawk
>     Versions: Nightly
>  Environment: Tomcat 5.0.28, nightly build 10/10/2005
>     Reporter: Zhong Li
>     Priority: Critical

>
> I have a list used in a datatable
> <t:dataTable value="#{playlistFactory.currentUnitMPOSPlayList}"  var="playlistItem">
> ....
>  					<h:column>			
> 						<f:facet name="header">				 
> 							<h:outputText value="#{messages['dealer_admin_length']}"/>	
> 						</f:facet>			
> 						<h:outputText value="#{playlistItem.length}"/>
> 						<f:facet name="footer">
> 							<h:outputText value="#{playlistFactory.totalLength}"/>	
> 						</f:facet>			
>  					</h:column>			
> ....
> </t:dataTable>
> playlistFactory.totalLength called before playlistFactory.currentUnitMPOSPlayList called. So I got totalLength always 0, playlistFactory.totalLengtht should be called after playlistFactory.currentUnitMPOSPlayList 

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