You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2011/02/08 22:55:31 UTC
svn commit: r1068598 -
/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUISheet.java
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);