summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2009-10-20 05:36:37 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2009-10-20 05:36:37 +0000
commited57eb4ec06de4267567be8e1724fdc4f524ad45 (patch)
tree08ee36f35f24946dae493b7e128a78aedc4cf22f /src/com
parent6490b899b2904a634c16c30926ea7b0b347858ad (diff)
downloadvaadin-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.java35
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);
+ }
+ }
+ }
+ }
+
}
/**