Places and Tabs

18 views
Skip to first unread message

noob_boy

unread,
Dec 5, 2011, 12:30:40 PM12/5/11
to Google Web Toolkit
Hi,

Currently I have implemented code to show various tab based on places.
Based on clicking Anchor links, I am able to show TAB1 or TAB2 as
required.

Inside TAB1, I have a tree on the left. I am not able to figure out
how to select "firstElement" or "secondElement" based on the place.

I want to show TAB1 and then select "secondElement". The place changes
to show "TAB1:secondElement". How do I process this in the view?

I have gone through all the places related queries but I couldnt
figure out how to do this. Thanks in advance for any help.

-sowdri-

unread,
Dec 6, 2011, 12:08:06 AM12/6/11
to google-we...@googlegroups.com
>> Inside TAB1, I have a tree on the left.

Make the activity that is displaying the tree listen to PlaceChangeEvent. Now you know whenever the place changes, such  that you can highlight the required item in the tree based on the place.

Thanks,
Reply all
Reply to author
Forward
0 new messages