Hello everyone,
I have created my gwt-ext application as a wrapper of Joomla.Basically
it's an iframe. Now I want to pass the username to my gwt-ext
application via url. Could you give me any idea about this. I have
seen some codes like below:
/*
* Default parameters sent with every request
*/
UrlParam[] arrParam = { new UrlParam("param1", "myvalue1"),
new UrlParam("param2", "myvalue2") };
ConnectionConfig conCfg = new ConnectionConfig();
conCfg.setUrl("myurl.org");
conCfg.setExtraParams(arrParam);
conCfg.setMethod(Connection.POST);
UrlParam[] arrParam2 = { new UrlParam("codigo", 1) };
RequestParam reqParam = new RequestParam();
reqParam.setParams(arrParam2);
Connection con = new Connection(conCfg);
con.request(reqParam);
//==============================
Do you know a better way to do this?
Thanks,
Lanz
--
You received this message because you are subscribed to the Google Groups
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/gwt-ext?hl=en.