GWT

100 views
Skip to first unread message

nesrine doghri

unread,
Jul 29, 2012, 1:03:28 PM7/29/12
to google-we...@googlegroups.com
Hi , haw can I build a GWT web site (the interaction between the different pages  ? and how can I implement the navigation between diffffernt  pages ??

Assiya EL

unread,
Jul 29, 2012, 1:09:13 PM7/29/12
to google-we...@googlegroups.com
hi,

   windows.open ("url")    or  addClickHandler

2012/7/29 nesrine doghri <nesrine...@gmail.com>
Hi , haw can I build a GWT web site (the interaction between the different pages  ? and how can I implement the navigation between diffffernt  pages ??

--
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.



--
 
Assiya EL
Master Qualité  Logiciel 



Plz consider environment - Only print this if necessary


Dennis Haupt

unread,
Jul 29, 2012, 1:26:01 PM7/29/12
to google-we...@googlegroups.com
you can put everything on one.

nessrinovitta

unread,
Jul 29, 2012, 1:47:04 PM7/29/12
to google-we...@googlegroups.com, d.ha...@googlemail.com
How does this work exactly ?? As I understood in the .HTML page I define the divs I need and then form each Ui  java class I use the methode RootPanel.get("content").add(Widget());
Is this true ?, Does anyone have an example ??

Dennis Haupt

unread,
Jul 29, 2012, 2:59:37 PM7/29/12
to nessrinovitta, google-we...@googlegroups.com
please read some beginner tutorials.
page switch:
RootPanel.get("content").add(page1());
RootPanel.get("content").clear();
RootPanel.get("content").add(page2());
--

Ernani Sottomaior

unread,
Jul 30, 2012, 11:57:46 PM7/30/12
to google-we...@googlegroups.com
You can use gwt history manager...

add a listener:

History.addValueChangeHandler(new ValueChangeHandler<String>() {
            public void onValueChange(ValueChangeEvent<String> event) {
               String section = History.getToken().trim();
                ... place new panel, or whatever like that ...
            }
        });


when user clicks a link or button you can call:

History.newItem(section);


This would work with back-forward browser buttons.

[]
ERS


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

Natanael Maldonado

unread,
Jul 31, 2012, 12:00:03 PM7/31/12
to google-we...@googlegroups.com
You can check gwtpages framework too ;-)
Here's an example:

https://community.jboss.org/thread/199409

2012/7/30 Ernani Sottomaior <ernaniso...@gmail.com>



--



Atte:
Natanael Maldonado
Reply all
Reply to author
Forward
0 new messages