Tuesday, July 31, 2012

Re: GWT

You can check gwtpages framework too ;-)
Here's an example:

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

2012/7/30 Ernani Sottomaior <ernanisottomaior@gmail.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


On Sun, Jul 29, 2012 at 3:59 PM, Dennis Haupt <d.haupt82@googlemail.com> wrote:
please read some beginner tutorials.
page switch:
RootPanel.get("content").add(page1());
RootPanel.get("content").clear();
RootPanel.get("content").add(page2());

Am 29.07.2012 19:47, schrieb nessrinovitta:
> 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 ??


--

--
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-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.


--
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-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



--



Atte:
Natanael Maldonado

--
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-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment