You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by James Neff <jn...@tethyshealth.com> on 2008/06/16 17:26:39 UTC

[Struts2] Is tooltip possible for s:label?

I'm trying to get an s:label tag to also have a tool-tip but it doesn't 
seem to be working.

Here is the documentation I am trying to follow:

http://struts.apache.org/2.0.11.1/docs/label.html

Here is my code:

<s:iterator value="codes">
                                       
    <s:label value="%{code}" tooltip="%{description}" />

</s:iterator>


Both code and description are attributes of the objects stores in the 
"codes" collection".

Are tool-tips possible with this tag reference or am I in the wrong version?

If not, is there another way to do this or should I just do mouse over 
with javascript?

Thanks in advance,
James



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org