[Yanel-commits] rev 32470 -
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 22:01:59 CET 2008
Author: michi
Date: 2008-02-25 22:01:58 +0100 (Mon, 25 Feb 2008)
New Revision: 32470
Modified:
public/yanel/contributions/ajax-components/src/access-policy-editor/java/org/wyona/yanel/gwt/accesspolicyeditor/client/AccessPolicyEditor.java
Log:
send 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:58:25 UTC (rev 32469)
+++ public/yanel/contributions/ajax-components/src/access-policy-editor/java/org/wyona/yanel/gwt/accesspolicyeditor/client/AccessPolicyEditor.java 2008-02-25 21:01:58 UTC (rev 32470)
@@ -109,6 +109,15 @@
// TODO: See src/extra/globus/image-browser/src/java/ch/globus/yanel/gwt/client/ImageBrowser.java how to use Asyn Policy Getter!
final AsynchronousPolicyGetter apg = new AsynchronousPolicyGetter("sample-policy.xml");
+ try {
+ final com.google.gwt.http.client.Request request = apg.execute();
+ // TODO: Implement loop until request has finished execution
+ } catch (Exception e) {
+ Window.alert("Exception: " + e.getMessage());
+ //if (!com.google.gwt.core.client.GWT.isScript()) {
+ e.printStackTrace();
+ //}
+ }
return apg.getIdentities();
}
}
More information about the Yanel-commits
mailing list