Hi Peter,
thanks for your help,
i just give the entire url eg:http://localhost:8080/lead/
moreLead.action", now it works fine in hosted mode and IE but not
displayed in Mozilla Firefox
one more issue currently iam using Viewport to display the
chart instead i want to use RootPanel.
help me regards
Thanking you in anticipation
Regards,
Syed Shahul
On Jan 5, 7:26 pm, "peter" <[email protected]> wrote:
> I am new to Gwt-ext too. And I have tried integrate Struts action in my
> application. I think it's work fine for me. You can use JsonReader and
> HttpProxy to load Json data from Action.do.
>
> The example code is here:
>
> final RecordDef recordDef = new RecordDef(new FieldDef[]{
> new StringFieldDef("item1", "item1"),
> new StringFieldDef("item2", "item2"),
> new IntegerFieldDef("item3", "item3"),
> new StringFieldDef("item4", "item4")});
>
> JsonReader jsreader = new JsonReader(recordDef);
> jsreader.setRoot("itemList");
> jsreader.setTotalProperty("totalCount");
> HttpProxy dataProxy = new HttpProxy("action.do");
> Store store = new GroupingStore(dataProxy,jsreader,true);
> store.load();
>
> Then use GridPanel to display data.
>
> 2009-01-05
>
> peter
>
> 发件人: Syed Shahul
> 发送时间: 2009-01-05 21:57:44
> 收件人: GWT-Ext Developer Forum
> 抄送:
> 主题: Integrating GWT-Ext with Struts2
>
> Hi All,
> i am new to Gwt-Ext, i need to get the JSON data from Struts2
> in my Gwt-ext code to display the Charts,
> can anyone help me regards,
> thanking you in anticipation
> Regards,
> Syed Shahul
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---