Mulitple pages using GWT

28 views
Skip to first unread message

yashujn

unread,
Feb 13, 2012, 1:17:00 AM2/13/12
to Google Web Toolkit
Hi All,


I devloped a webpage usign gwt in which few widgets are present now i
want to one moroe page

into my apllication but i dont know how to add it..........can anybody
guide me how to do it..........


if my question is not clear plz let me know ............ i need help
urgently...

Amrutha Thomas

unread,
Feb 13, 2012, 1:26:50 AM2/13/12
to google-we...@googlegroups.com
Can you make the question  clear??






yashujn

unread,
Feb 13, 2012, 1:36:30 AM2/13/12
to Google Web Toolkit
I devloped a webpage which xactly looks like igoogle page in my page 4
wdigets are presents and all are take latest updates using rss
feed...............

in left hand side of my page i gave 4 button for those 4 widgets by
clicking on those button widget will open in full screen mode(xactly
like igoogle).............


now i created one more button named "SHARED" what i want is when
anyone click on that button a predefined template will

open (i write the code for that template)...... so anyone can share
anything .................


now the thing is in my home page i wat only those 4 widgets and this
template will shown only when anyone click on that SHARE button.


i dnt knw how to do it............ I thought to add one more page is
an option so i asked how to add multiple pages in gwt......


hope i cleared my dout.................

plz help me uregntly...........

Vasi Sándor

unread,
Feb 13, 2012, 2:18:44 AM2/13/12
to google-we...@googlegroups.com
In the gwt world we usually don't navigate the user to new page, but instead replace the content of our container widget. E.g. You have two panels: one for the navigation buttons and an other for the page content. You can replace the content easily in the page content containing panel by clicking on any of the buttons in the other panel.
I am not too sure, but is this what you need?

> --
> You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
> To post to this group, send email to google-we...@googlegroups.com.
> To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
>

brip lawlaw

unread,
Feb 13, 2012, 3:03:09 AM2/13/12
to google-we...@googlegroups.com
I don't quite understand the problem but I think what you are trying to do is to clear the content and display whatever it is when you click the button.

I'm not sure but here it is:

RootPanel.get("slot").clear();
RootPanel.get("slot").add(widget);

Correct me if I'm wrong.

tong123123

unread,
Feb 13, 2012, 5:10:30 AM2/13/12
to Google Web Toolkit
yes, I think the user is facing the change page concept in old jsp1 --
> servlet --> jsp2 concept.
I also face similar problem when using gwt in the first time, it seems
that gwt has no page concept, but should think page as panel, so
change page is equal to change panel!!
let said there is one outer panel and it contains different
panel(page), depends on what page(Panel) need to be displayed.


On Feb 13, 3:18 pm, Vasi Sándor <sa...@inlineskate.hu> wrote:
> In the gwt world we usually don't navigate the user to new page, but instead replace the content of our container widget. E.g. You have two panels: one for the navigation buttons and an other for the page content. You can replace the content easily in the page content containing panel by clicking on any of the buttons in the other panel.
> I am not too sure, but is this what you need?
>
Reply all
Reply to author
Forward
0 new messages