Re: ActivityManager and TabLayoutPanel

2011-02-07 Thread Ezequiel Palumbo
Well, my experience could be useful for you. I've been working in a project with GWT 2.1 MVP, where I need to have a main menu which triggers tabs when user clicks on a option. What I did was develop a simple class that works as an Activity Manager but with concurrent activities, passing the panel

Re: ActivityManager and TabLayoutPanel

2011-02-07 Thread Ernesto Reig
Thank you very much for your response Ryan. I will study it and report feedback. -- 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

Re: ActivityManager and TabLayoutPanel

2011-02-04 Thread Ryan Mehregan
You have to ask yourself, what exactly is a TabLayoutPanel ? it has two parts, a header and a body. the header is a list of labels/links that when clicked change state (only one can be active at a time, you change its color, updates the history token) therefore to make TabLayoutPanel work corre

Re: ActivityManager and TabLayoutPanel

2011-02-04 Thread Jack
> Nevertheless, I still think that a common use case could be opening a > different tab in the main (center) panel every time the user clicks in a > link of the Main Menu, and I don´t know how to achieve this in MVP pattern > (using activities and places). When a user clicks through your main menu

Re: ActivityManager and TabLayoutPanel

2011-02-04 Thread Ernesto Reig
Thank you for your response Jack. I´ve finally decided for another approach. The thing is that I wanted to use the TabLayoutPanel as a main Menu (e.g. a different section per tab), but when I read your comment "This should be typical use case for a TabLayoutPanel", I changed my mind, I considered u

Re: ActivityManager and TabLayoutPanel

2011-02-03 Thread Jack
Well I am not very familiar with the GWT MVP Framework but from what I've read I would use one Place and one Activity for the whole TabLayoutPanel an put it into a "display region" ( = AcceptsOneWidget). I guess that should be fine in most situations. For example a GWT application may have a place

ActivityManager and TabLayoutPanel

2011-02-03 Thread Ernesto Reig
Hello everybody, I don´t know if this problem can be solved easily or maybe I have to think of another approach. The thing is that I want a TabLayoutPanel, so that the ActivityManager keeps track of all the activity´s of the different tabs, but the first problem I find is setting the Display. The A