Sunday, September 19, 2010

change the style of the parent tag

Hi,

I need to change the style of the parent tag for the mouseover events.
In the below code i want to change the style oh h2 element. if i used
the link1.getParent() it returns the style1 and not the style for h1.
Any idea to resolve this issue

Sample code :

<g:HTMLPanel styleName="style1">
<h2>
<g:Anchor ui:field="link1" >GWT Home </g:Anchor>
<h2>

Thanks
Siva

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