You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by nani2ratna <na...@gmail.com> on 2010/03/03 10:42:50 UTC

Struts 2 tooltip is not working

Hi,

We are using struts- 2.1.8.1 GA release.
I am trying to add tooltip attribute for <s:a/> tag.
Its not working.

I tried adding <s:head/> still not working.
I tried changing theme = 'xhtnl'.

Still its not working.
is this a bug.

I am not using dojo plugin.
I am using jquery plugin.
Can anybody know whats the solution.

Thanks and Regards
RS
-- 
View this message in context: http://old.nabble.com/Struts-2-tooltip-is-not-working-tp27766081p27766081.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Re: Re : Struts 2 tooltip is not working

Posted by Lukasz Lenart <lu...@googlemail.com>.
2010/3/3 adam pinder <ap...@hotmail.co.uk>:
> I personally use the standard <a> tag not the struts one and use struts to populate the tooltip with <s:text> so <a href="..." title="<s:text ....>">some link text</a>
>
> not sure the struts <a> really adds much as the href is likely to be just the action name not the full URL anyway.

<#if parameters.title??>
  title="${parameters.title?html}"<#rt/>
</#if>

Strange, title attribute is set in a-close.ftl, did you try to use
<s:a title="Test">sdfsdf</a> ?


Regards
-- 
Łukasz
http://www.lenart.org.pl/
Kapituła Javarsovia 2010
http://javarsovia.pl

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


RE: Re : Struts 2 tooltip is not working

Posted by nani2ratna <na...@gmail.com>.
Thank you very much adam.
Its working.
So in all the tags title is working as tooltip.
So what is the purpose of tooltip attribute, since title is doing that work.

Thanks in advance
ratna


adam pinder wrote:
> 
> 
>  
> I personally use the standard   tag not the struts one and use struts to
> populate the tooltip with <s:text> so  ... ">some link text 
>  
> not sure the struts   really adds much as the href is likely to be just
> the action name not the full URL anyway.
>  
> adam
> 
> 
> ----------------------------------------
>> Date: Wed, 3 Mar 2010 05:11:45 -0800
>> From: nani2ratna@gmail.com
>> To: user@struts.apache.org
>> Subject: Re: Re : Struts 2 tooltip is not working
>>
>>
>> Sorry Frederick.
>> I didn't get you.
>> There is not tiles attribute in S;text or s:a.
>> Where i need to use that attribute.
>>
>> Thanks in advance
>> RS
>>
>>
>> Frederik Minatchy wrote:
>>>
>>> You should use the tiles attribute
>>>
>>> --- En date de : Mer 3.3.10, nani2ratna a écrit :
>>>
>>>> De: nani2ratna 
>>>> Objet: Struts 2 tooltip is not working
>>>> À: user@struts.apache.org
>>>> Date: Mercredi 3 mars 2010, 9h42
>>>>
>>>> Hi,
>>>>
>>>> We are using struts- 2.1.8.1 GA release.
>>>> I am trying to add tooltip attribute for tag.
>>>> Its not working.
>>>>
>>>> I tried adding still not working.
>>>> I tried changing theme = 'xhtnl'.
>>>>
>>>> Still its not working.
>>>> is this a bug.
>>>>
>>>> I am not using dojo plugin.
>>>> I am using jquery plugin.
>>>> Can anybody know whats the solution.
>>>>
>>>> Thanks and Regards
>>>> RS
>>>> --
>>>> View this message in context:
>>>> http://old.nabble.com/Struts-2-tooltip-is-not-working-tp27766081p27766081.html
>>>> Sent from the Struts - User mailing list archive at
>>>> Nabble.com.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>>> For additional commands, e-mail: user-help@struts.apache.org
>>>>
>>>>
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: user-help@struts.apache.org
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Struts-2-tooltip-is-not-working-tp27766081p27768002.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>> 		 	   		  
> _________________________________________________________________
> Tell us your greatest, weirdest and funniest Hotmail stories
> http://clk.atdmt.com/UKM/go/195013117/direct/01/
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Struts-2-tooltip-is-not-working-tp27766081p27768338.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


RE: Re : Struts 2 tooltip is not working

Posted by adam pinder <ap...@hotmail.co.uk>.
 
I personally use the standard <a> tag not the struts one and use struts to populate the tooltip with <s:text> so <a href="..." title="<s:text ....>">some link text</a>
 
not sure the struts <a> really adds much as the href is likely to be just the action name not the full URL anyway.
 
adam


----------------------------------------
> Date: Wed, 3 Mar 2010 05:11:45 -0800
> From: nani2ratna@gmail.com
> To: user@struts.apache.org
> Subject: Re: Re : Struts 2 tooltip is not working
>
>
> Sorry Frederick.
> I didn't get you.
> There is not tiles attribute in S;text or s:a.
> Where i need to use that attribute.
>
> Thanks in advance
> RS
>
>
> Frederik Minatchy wrote:
>>
>> You should use the tiles attribute
>>
>> --- En date de : Mer 3.3.10, nani2ratna a écrit :
>>
>>> De: nani2ratna 
>>> Objet: Struts 2 tooltip is not working
>>> À: user@struts.apache.org
>>> Date: Mercredi 3 mars 2010, 9h42
>>>
>>> Hi,
>>>
>>> We are using struts- 2.1.8.1 GA release.
>>> I am trying to add tooltip attribute for tag.
>>> Its not working.
>>>
>>> I tried adding still not working.
>>> I tried changing theme = 'xhtnl'.
>>>
>>> Still its not working.
>>> is this a bug.
>>>
>>> I am not using dojo plugin.
>>> I am using jquery plugin.
>>> Can anybody know whats the solution.
>>>
>>> Thanks and Regards
>>> RS
>>> --
>>> View this message in context:
>>> http://old.nabble.com/Struts-2-tooltip-is-not-working-tp27766081p27766081.html
>>> Sent from the Struts - User mailing list archive at
>>> Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: user-help@struts.apache.org
>>>
>>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>
>
> --
> View this message in context: http://old.nabble.com/Struts-2-tooltip-is-not-working-tp27766081p27768002.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 		 	   		  
_________________________________________________________________
Tell us your greatest, weirdest and funniest Hotmail stories
http://clk.atdmt.com/UKM/go/195013117/direct/01/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Re : Struts 2 tooltip is not working

Posted by Frederik Minatchy <fr...@yahoo.fr>.
Oups... I missed the "t" key to type "title"...

Sorry...

--- En date de : Mer 3.3.10, nani2ratna <na...@gmail.com> a écrit :

> De: nani2ratna <na...@gmail.com>
> Objet: Re: Re : Struts 2 tooltip is not working
> À: user@struts.apache.org
> Date: Mercredi 3 mars 2010, 13h11
> 
> Sorry Frederick.
> I didn't get you.
> There is not tiles attribute in S;text or s:a.
> Where i need to use that attribute.
> 
> Thanks in advance
> RS
> 
> 
> Frederik Minatchy wrote:
> > 
> > You should use the tiles attribute
> > 
> > --- En date de : Mer 3.3.10, nani2ratna <na...@gmail.com>
> a écrit :
> > 
> >> De: nani2ratna <na...@gmail.com>
> >> Objet: Struts 2 tooltip is not working
> >> À: user@struts.apache.org
> >> Date: Mercredi 3 mars 2010, 9h42
> >> 
> >> Hi,
> >> 
> >> We are using struts- 2.1.8.1 GA release.
> >> I am trying to add tooltip attribute for
> <s:a/> tag.
> >> Its not working.
> >> 
> >> I tried adding <s:head/> still not working.
> >> I tried changing theme = 'xhtnl'.
> >> 
> >> Still its not working.
> >> is this a bug.
> >> 
> >> I am not using dojo plugin.
> >> I am using jquery plugin.
> >> Can anybody know whats the solution.
> >> 
> >> Thanks and Regards
> >> RS
> >> -- 
> >> View this message in context:
> >> http://old.nabble.com/Struts-2-tooltip-is-not-working-tp27766081p27766081.html
> >> Sent from the Struts - User mailing list archive
> at
> >> Nabble.com.
> >> 
> >> 
> >>
> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >> For additional commands, e-mail: user-help@struts.apache.org
> >> 
> >> 
> > 
> > 
> > 
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> > 
> > 
> > 
> 
> -- 
> View this message in context: http://old.nabble.com/Struts-2-tooltip-is-not-working-tp27766081p27768002.html
> Sent from the Struts - User mailing list archive at
> Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 


      

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


Re: Re : Struts 2 tooltip is not working

Posted by nani2ratna <na...@gmail.com>.
Sorry Frederick.
I didn't get you.
There is not tiles attribute in S;text or s:a.
Where i need to use that attribute.

Thanks in advance
RS


Frederik Minatchy wrote:
> 
> You should use the tiles attribute
> 
> --- En date de : Mer 3.3.10, nani2ratna <na...@gmail.com> a écrit :
> 
>> De: nani2ratna <na...@gmail.com>
>> Objet: Struts 2 tooltip is not working
>> À: user@struts.apache.org
>> Date: Mercredi 3 mars 2010, 9h42
>> 
>> Hi,
>> 
>> We are using struts- 2.1.8.1 GA release.
>> I am trying to add tooltip attribute for <s:a/> tag.
>> Its not working.
>> 
>> I tried adding <s:head/> still not working.
>> I tried changing theme = 'xhtnl'.
>> 
>> Still its not working.
>> is this a bug.
>> 
>> I am not using dojo plugin.
>> I am using jquery plugin.
>> Can anybody know whats the solution.
>> 
>> Thanks and Regards
>> RS
>> -- 
>> View this message in context:
>> http://old.nabble.com/Struts-2-tooltip-is-not-working-tp27766081p27766081.html
>> Sent from the Struts - User mailing list archive at
>> Nabble.com.
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>> 
>> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Struts-2-tooltip-is-not-working-tp27766081p27768002.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Re : Struts 2 tooltip is not working

Posted by Frederik Minatchy <fr...@yahoo.fr>.
You should use the tiles attribute

--- En date de : Mer 3.3.10, nani2ratna <na...@gmail.com> a écrit :

> De: nani2ratna <na...@gmail.com>
> Objet: Struts 2 tooltip is not working
> À: user@struts.apache.org
> Date: Mercredi 3 mars 2010, 9h42
> 
> Hi,
> 
> We are using struts- 2.1.8.1 GA release.
> I am trying to add tooltip attribute for <s:a/> tag.
> Its not working.
> 
> I tried adding <s:head/> still not working.
> I tried changing theme = 'xhtnl'.
> 
> Still its not working.
> is this a bug.
> 
> I am not using dojo plugin.
> I am using jquery plugin.
> Can anybody know whats the solution.
> 
> Thanks and Regards
> RS
> -- 
> View this message in context: http://old.nabble.com/Struts-2-tooltip-is-not-working-tp27766081p27766081.html
> Sent from the Struts - User mailing list archive at
> Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 


      

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