incubator-ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ange...@apache.org
Subject svn commit: r1061807 - /incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/VaadinClient.java
Date Fri, 21 Jan 2011 14:01:37 GMT
Author: angelos
Date: Fri Jan 21 14:01:37 2011
New Revision: 1061807

URL: http://svn.apache.org/viewvc?rev=1061807&view=rev
Log:
The Vaadin UI now sets the AutoApprove flag for new targets.

Modified:
    incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/VaadinClient.java

Modified: incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/VaadinClient.java
URL: http://svn.apache.org/viewvc/incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/VaadinClient.java?rev=1061807&r1=1061806&r2=1061807&view=diff
==============================================================================
--- incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/VaadinClient.java
(original)
+++ incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/VaadinClient.java
Fri Jan 21 14:01:37 2011
@@ -996,6 +996,7 @@ public class VaadinClient extends com.va
     private void createTarget(String name, String description) {
         Map<String, String> attributes = new HashMap<String, String>();
         attributes.put(StatefulGatewayObject.KEY_ID, name);
+        attributes.put(GatewayObject.KEY_AUTO_APPROVE, "true");
         Map<String, String> tags = new HashMap<String, String>();
         m_statefulTargetRepository.preregister(attributes, tags);
     }



Mime
View raw message