Hi all!

I'm wondering how I should implement a common click handler for
several links.

My scenario is that I have three HyperLinks that are placed within
SimplePanels (<panel><link /></panel>). These are supposed to act as
"tabs", where a click on the link will result in activating that tab.

Is it possible to achieve this with a common click handler (using
@UiHandler?) for the hyperlinks? When a link is clicked I want to
change the style of the related SimplePanel (for the tab) and also
swap out the content of the main panel.

If it is, is there a way to detect the parent widget (the SimplePanel)
for the HyperLink object?

Thanks in advance,
/Thomas

-- 
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