ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r1401213 - in /ace/trunk/org.apache.ace.webui.vaadin/src/org/apache/ace/webui/vaadin: Associations.java component/BaseObjectPanel.java
Date Tue, 23 Oct 2012 09:18:19 GMT
Author: jawi
Date: Tue Oct 23 09:18:19 2012
New Revision: 1401213

URL: http://svn.apache.org/viewvc?rev=1401213&view=rev
Log:
Fixed the selection issues due to the upgrade to the latest Vaadin version.

Modified:
    ace/trunk/org.apache.ace.webui.vaadin/src/org/apache/ace/webui/vaadin/Associations.java
    ace/trunk/org.apache.ace.webui.vaadin/src/org/apache/ace/webui/vaadin/component/BaseObjectPanel.java

Modified: ace/trunk/org.apache.ace.webui.vaadin/src/org/apache/ace/webui/vaadin/Associations.java
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.webui.vaadin/src/org/apache/ace/webui/vaadin/Associations.java?rev=1401213&r1=1401212&r2=1401213&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.webui.vaadin/src/org/apache/ace/webui/vaadin/Associations.java
(original)
+++ ace/trunk/org.apache.ace.webui.vaadin/src/org/apache/ace/webui/vaadin/Associations.java
Tue Oct 23 09:18:19 2012
@@ -207,8 +207,9 @@ public class Associations {
                         }
                     }
 
+                    m_table.refreshRowCache();
                     for (Table t : m_tablesToRefresh) {
-                        t.requestRepaint();
+                        t.refreshRowCache();
                     }
                 }
             }

Modified: ace/trunk/org.apache.ace.webui.vaadin/src/org/apache/ace/webui/vaadin/component/BaseObjectPanel.java
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.webui.vaadin/src/org/apache/ace/webui/vaadin/component/BaseObjectPanel.java?rev=1401213&r1=1401212&r2=1401213&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.webui.vaadin/src/org/apache/ace/webui/vaadin/component/BaseObjectPanel.java
(original)
+++ ace/trunk/org.apache.ace.webui.vaadin/src/org/apache/ace/webui/vaadin/component/BaseObjectPanel.java
Tue Oct 23 09:18:19 2012
@@ -223,19 +223,6 @@ abstract class BaseObjectPanel<REPO_OBJ 
                 }
             });
         }
-        
-        addListener(new ItemClickListener() {
-            @Override
-            public void itemClick(ItemClickEvent event) {
-                refreshRowCache();
-                if (m_leftTable != null) {
-                    m_leftTable.refreshRowCache();
-                }
-                if (m_rightTable != null) {
-                    m_rightTable.refreshRowCache();
-                }
-            }
-        });
     }
 
     /**



Mime
View raw message