Yes, i used a similar approach.
I have a main panel which is always present, and i add and remove
composites on need.

I too have a Search screen, on click on the search button, i remove
the Search composite from the panel and add the search results
composite.

I have a seperate HashMap of composites, instead of creating the
composites every time a button is clicked, i create it once on the
first request and store it in the hashmap, and retrieve it from there.

The login screen is a JSP page, after authentication, i load the main
panel inthe onModuleLoad function.

Hope this helps.

On Jun 22, 11:24 am, mabogie <[email protected]> wrote:
> Well if your entrypoint is the same, you could create 3 composites, 1
> for each page.
> I've never studied doing a login page in gwt, as it seems somewhat
> insecure being all clientside (but I know little about is, and I've
> seen people do it, so ignore this advice).
>
> Check this video for doing best 
> practices:http://www.youtube.com/watch?v=PDuhR18-EdM
>
> I would do the search page as stated above, create a searchEvent, a
> searchEventHandler, and either work with a eventbus or, if it's a
> simple app, just register the handler to the search result page, and
> fire the search event with the search button.
>
> Maarten
>
> http://www.webspin.be
>
> On 22 jun, 08:02, Sowjanya Yerramneni <[email protected]> wrote:
>
> >  Hi,
>
> > I am a struts developer totally new to GWT EXT.
> > Could anyone explain how page navigations happen in GWT an how can we pass
> > params between pages?
> > I am trying to develop a web application where we have a login page, search
> > page and search results page.
> > Please help.
> > --
> > -Regards,
> > Sowjanya.
--~--~---------~--~----~------------~-------~--~----~
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