[Yanel-commits] rev 32468 - public/yanel/contributions/ajax-components/src/access-policy-editor/java/org/wyona/yanel/gwt/accesspolicyeditor/client

michi at wyona.com michi at wyona.com
Mon Feb 25 21:45:23 CET 2008


Author: michi
Date: 2008-02-25 21:45:22 +0100 (Mon, 25 Feb 2008)
New Revision: 32468

Modified:
   public/yanel/contributions/ajax-components/src/access-policy-editor/java/org/wyona/yanel/gwt/accesspolicyeditor/client/AccessPolicyEditor.java
Log:
actuall get identities by sending request

Modified: public/yanel/contributions/ajax-components/src/access-policy-editor/java/org/wyona/yanel/gwt/accesspolicyeditor/client/AccessPolicyEditor.java
===================================================================
--- public/yanel/contributions/ajax-components/src/access-policy-editor/java/org/wyona/yanel/gwt/accesspolicyeditor/client/AccessPolicyEditor.java	2008-02-25 20:44:08 UTC (rev 32467)
+++ public/yanel/contributions/ajax-components/src/access-policy-editor/java/org/wyona/yanel/gwt/accesspolicyeditor/client/AccessPolicyEditor.java	2008-02-25 20:45:22 UTC (rev 32468)
@@ -87,6 +87,15 @@
         // TODO: See src/extra/globus/image-browser/src/java/ch/globus/yanel/gwt/client/ImageBrowser.java how to use Asyn Identities and Rights Getter!
 
         final AsynchronousIdentitiesAndRightsGetter ag = new AsynchronousIdentitiesAndRightsGetter("sample-identities-and-usecases.xml");
+        try {
+            final com.google.gwt.http.client.Request request = ag.execute();
+            // TODO: Implement loop until request has finished execution
+        } catch (Exception e) {
+             //if (!com.google.gwt.core.client.GWT.isScript()) {
+             e.printStackTrace();
+             //}
+        }
+
         // TODO: Do not set them globally!
         users = ag.getUsers();
         groups = ag.getGroups();



More information about the Yanel-commits mailing list