I wouldn't recommend that.  Are you trying to actually open a separate URL?
If you just want to transition within your application to a new screen,
you'll have to remove the old panel from its parent, & add in the next
screen.  That way, you'll have a seamless transition within your application
& you won't have the problem of your program being reset (every time you
load a URL, unless you're clever with history tokens & cookies, you'll lose
all state within your application).

button.addClickListener() etc.

On Mon, Mar 9, 2009 at 8:29 AM, Darkflame <[email protected]> wrote:

>
> Window.open(url, name, features) is what you want to use to load a new
> page.
>
> So just add a click listener to the button and use that.
> name determains if it loads a new page ("_blank" or just in the
> current window "_self")
>
>
>
> On Mar 9, 6:55 am, ragavan <[email protected]> wrote:
> > Hi,
> >
> > am new to GWT. I have a small concern regarding submit button.
> > when I click on submit button I need to go to next page. how to
> > implement the code
> > in GWT.
> >
> > can anyone suggest me how to proceed.
> >
> > Thanks,
> > Ragavan
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to