Tuesday, October 4, 2011

GWT Mail Example- StackLayoutPanel Selection Event (The Shortcuts)

Hi all,

I'm new to GWT and trying to modify the example GWT Mail application
(http://gwt.google.com/samples/Mail/Mail.html) to when I click on one
of the shortcut tabs on the left (ie Contacts, Mail etc), it will
change the MailList part of the application (basically the maillist
table) to be populated with different data.

Eg when I click on the Tasks 'box' not only will it animate the left
stack layout panel but i would like it so the table (MailList) that
has 'subject', 'Email', and 'subject' as table headings to change and
table cleared and have eg tasks information in the table instead.

I have figured out how to change the table headers and the contents
but I cant seem to figure out how to do it on an event when one of
those buttons on the left are clicked/selected.

Any help would be greatly appreciated.
Thanks.


--
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 email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment