Re: Configuring Places to work with Tabs

2011-07-18 Thread ashwin.desi...@gmail.com
i would recommend the following approach, in your AppEntry/ main class define the HistoryMapper something similar to the following //default place final Place defaultPlace = new Home(userName); // Start PlaceHistoryHandler with our PlaceHistoryMapper AppPlaceHistoryMappe

Re: Configuring Places to work with Tabs

2011-07-18 Thread Mark Wengranowski
OK, so i have that working properly now but im stuck on configuring browser history. How can i make it so that each of my tabs has their own browser history so that when i flip to a different tab it will change to it's previous page without affecting the others. For testing purposes i created a se

Re: Configuring Places to work with Tabs

2011-07-18 Thread ashwin.desi...@gmail.com
render to the content inside your tab panel. ie. each tab panel has a header (for rendering the tabs) and a content area. your view should expose the content area as a widget. Your activity should render to this widget On Mon, Jul 18, 2011 at 11:06 PM, Mark Wengranowski wrote: > Thanks! Should

Re: Configuring Places to work with Tabs

2011-07-18 Thread Mark Wengranowski
Thanks! Should i be using the content panel that contains the tab panel or should i somehow create content panels and activity mappers for each tab panel. On Jul 18, 10:30 am, "ashwin.desi...@gmail.com" wrote: > Mark, > > I think you should be able to achieve it using places. Try to have an > add

Re: Configuring Places to work with Tabs

2011-07-18 Thread ashwin.desi...@gmail.com
Mark, I think you should be able to achieve it using places. Try to have an additional property in your place, lets say location which would tell you which tab the user clicked. Now pass this value to the activity/ Delegate which drives your view. Based on the location render the contents. Regar

Configuring Places to work with Tabs

2011-07-18 Thread Mark Wengranowski
Hi Everyone, im looking for suggestions on the best way to implement places in the following scenario. I have a main content container which contains a dynamic tab tanel: i.e. you can have have up to 3 tabs open at once with different pages in each, tabs can be closed/opened. When i use the goto(