myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bom...@apache.org
Subject svn commit: r1068598 - /myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUISheet.java
Date Tue, 08 Feb 2011 21:55:31 GMT
Author: bommel
Date: Tue Feb  8 21:55:30 2011
New Revision: 1068598

URL: http://svn.apache.org/viewvc?rev=1068598&view=rev
Log:
(TOBAGO-970) Changes in broadcast method should be performed after all listener are called
revert for sorting UISheet

Modified:
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUISheet.java

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUISheet.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUISheet.java?rev=1068598&r1=1068597&r2=1068598&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUISheet.java
(original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUISheet.java
Tue Feb  8 21:55:30 2011
@@ -341,8 +341,9 @@ public abstract class AbstractUISheet ex
     } else if (facesEvent instanceof SortActionEvent) {
       MethodBinding methodBinding = getSortActionListener();
       if (methodBinding!= null) {
-        FacesUtils.invokeMethodBinding(getFacesContext(), methodBinding, facesEvent);
+        // TODO should be first invokeMethodBinding and the update state
         getSheetState(getFacesContext()).updateSortState((SortActionEvent) facesEvent);
+        FacesUtils.invokeMethodBinding(getFacesContext(), methodBinding, facesEvent);
       } else {
         getSheetState(getFacesContext()).updateSortState((SortActionEvent) facesEvent);
         new Sorter().perform((SortActionEvent) facesEvent);



Mime
View raw message