diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2009-10-20 05:36:37 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2009-10-20 05:36:37 +0000 |
commit | ed57eb4ec06de4267567be8e1724fdc4f524ad45 (patch) | |
tree | 08ee36f35f24946dae493b7e128a78aedc4cf22f /src/com | |
parent | 6490b899b2904a634c16c30926ea7b0b347858ad (diff) | |
download | vaadin-framework-ed57eb4ec06de4267567be8e1724fdc4f524ad45.tar.gz vaadin-framework-ed57eb4ec06de4267567be8e1724fdc4f524ad45.zip |
actions no more handled in "updates-disabled" block, fixes #3551
svn changeset:9250/svn branch:6.2
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/vaadin/ui/Table.java | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/src/com/vaadin/ui/Table.java b/src/com/vaadin/ui/Table.java index a35572100f..99e7cec3de 100644 --- a/src/com/vaadin/ui/Table.java +++ b/src/com/vaadin/ui/Table.java @@ -1863,23 +1863,6 @@ public class Table extends AbstractSelect implements Action.Container, clientNeedsContentRefresh = true; } - // Actions - if (variables.containsKey("action")) { - final StringTokenizer st = new StringTokenizer((String) variables - .get("action"), ","); - if (st.countTokens() == 2) { - final Object itemId = itemIdMapper.get(st.nextToken()); - final Action action = (Action) actionMapper.get(st.nextToken()); - if (action != null && containsId(itemId) - && actionHandlers != null) { - for (final Iterator<Handler> i = actionHandlers.iterator(); i - .hasNext();) { - (i.next()).handleAction(action, this, itemId); - } - } - } - } - if (!sortDisabled) { // Sorting boolean doSort = false; @@ -1946,6 +1929,24 @@ public class Table extends AbstractSelect implements Action.Container, } enableContentRefreshing(clientNeedsContentRefresh); + + // Actions + if (variables.containsKey("action")) { + final StringTokenizer st = new StringTokenizer((String) variables + .get("action"), ","); + if (st.countTokens() == 2) { + final Object itemId = itemIdMapper.get(st.nextToken()); + final Action action = (Action) actionMapper.get(st.nextToken()); + if (action != null && containsId(itemId) + && actionHandlers != null) { + for (final Iterator<Handler> i = actionHandlers.iterator(); i + .hasNext();) { + (i.next()).handleAction(action, this, itemId); + } + } + } + } + } /** |