You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Unmesh Kulkarni <un...@gmail.com> on 2008/09/27 22:04:31 UTC
tooltipIconPath attribute not working?
Hi,
I need help on setting the tooltip images.
tooltipIconPath attribute is defined in the tag documentation, so I used it
as under:
<s:textarea key="comments" label="Comments" tooltip="my tooltip blah
blah" tooltipIconPath="images/tooltip_question.gif" rows="10"
cols="80"/>
But it's usage gives the following error:
Attribute tooltipIconPath invalid for tag textarea according to TLD
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:515)
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)
I am using struts-2.0.11.1. with Tomcat 5.0.28.
Is this a bug, or a problem with the way I'm using it? If it's a bug, are
there any workarounds to set tooltip icons?
TiA,
-Unmesh
RE: tooltipIconPath attribute not working?
Posted by Dave Newton <ne...@yahoo.com>.
--- On Sat, 9/27/08, Martin Gainty wrote:
> what happens when you configure the tooltipIconPath
> attribute in the form beforehand ?
It creates an error a few microseconds earlier.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: tooltipIconPath attribute not working?
Posted by Jishnu Viswanath <ji...@tavant.com>.
Oops, Nope it will not work, it has not yet implemented I think.
Regards,
Jishnu Viswanath
Software Engineer
*(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll
Tavant Technologies Inc.,
www.tavant.com
PEOPLE :: PASSION :: EXCELLENCE
-----Original Message-----
From: Jishnu Viswanath [mailto:jishnu.viswanath@tavant.com]
Sent: Sunday, September 28, 2008 7:08 AM
To: Struts Users Mailing List
Subject: RE: tooltipIconPath attribute not working?
Martin,
I have not tried with form, but the textarea did not gave me any
error, but I did not find any code to use the tooltip in the ftl, so I
think they completely ignore the attribute, If you want you have to
override the ftl in another theme, I think.
PS: No idea on 2.1.x cos I have not yet used it.
Regards,
Jishnu Viswanath
Software Engineer
*(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll
Tavant Technologies Inc.,
www.tavant.com
PEOPLE :: PASSION :: EXCELLENCE
-----Original Message-----
From: Martin Gainty [mailto:mgainty@hotmail.com]
Sent: Sunday, September 28, 2008 6:39 AM
To: Struts Users Mailing List
Subject: RE: tooltipIconPath attribute not working?
Hello Jishnu-
what happens when you configure the tooltipIconPath attribute in the
form beforehand ?
<s:form
tooltipDelay="500"
tooltipIconPath="/myImages/myIcon.gif" .... >
<s:textarea label="Comments" name="comments" cols="30" rows="8"/>
//tooltipIconPath should be inherited from form
?
Martin
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official
business of Sender. This transmission is of a confidential nature and
Sender does not endorse distribution to any party other than intended
recipient. Sender does not necessarily endorse content contained within
this transmission.
> Subject: RE: tooltipIconPath attribute not working?
> Date: Sun, 28 Sep 2008 06:06:44 +0530
> From: jishnu.viswanath@tavant.com
> To: user@struts.apache.org
>
>
http://struts.apache.org/2.0.6/struts2-core/apidocs/org/apache/struts2/c
> omponents/UIBean.html
>
> Check examples
>
> Regards,
>
> Jishnu Viswanath
>
> Software Engineer
>
> *(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll
>
> Tavant Technologies Inc.,
>
> www.tavant.com
>
> PEOPLE :: PASSION :: EXCELLENCE
>
> -----Original Message-----
> From: Unmesh Kulkarni [mailto:unmeshonline@gmail.com]
> Sent: Sunday, September 28, 2008 1:35 AM
> To: user@struts.apache.org
> Subject: tooltipIconPath attribute not working?
>
> Hi,
> I need help on setting the tooltip images.
>
> tooltipIconPath attribute is defined in the tag documentation, so I
used
> it
> as under:
>
> <s:textarea key="comments" label="Comments" tooltip="my tooltip blah
> blah" tooltipIconPath="images/tooltip_question.gif" rows="10"
> cols="80"/>
>
> But it's usage gives the following error:
>
> Attribute tooltipIconPath invalid for tag textarea according to TLD
>
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:5
> 15)
>
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher
> .java:419)
>
>
> I am using struts-2.0.11.1. with Tomcat 5.0.28.
>
> Is this a bug, or a problem with the way I'm using it? If it's a bug,
> are
> there any workarounds to set tooltip icons?
>
> TiA,
> -Unmesh
> Any comments or statements made in this email are not necessarily
those of Tavant Technologies.
> The information transmitted is intended only for the person or entity
to which it is addressed and may
> contain confidential and/or privileged material. If you have received
this in error, please contact the
> sender and delete the material from any computer. All e-mails sent
from or to Tavant Technologies
> may be subject to our monitoring procedures.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
_________________________________________________________________
See how Windows Mobile brings your life together-at home, work, or on
the go.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/
Any comments or statements made in this email are not necessarily those
of Tavant Technologies.
The information transmitted is intended only for the person or entity to
which it is addressed and may
contain confidential and/or privileged material. If you have received
this in error, please contact the
sender and delete the material from any computer. All e-mails sent from
or to Tavant Technologies
may be subject to our monitoring procedures.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Any comments or statements made in this email are not necessarily those of Tavant Technologies.
The information transmitted is intended only for the person or entity to which it is addressed and may
contain confidential and/or privileged material. If you have received this in error, please contact the
sender and delete the material from any computer. All e-mails sent from or to Tavant Technologies
may be subject to our monitoring procedures.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: tooltipIconPath attribute not working?
Posted by Jishnu Viswanath <ji...@tavant.com>.
Martin,
I have not tried with form, but the textarea did not gave me any
error, but I did not find any code to use the tooltip in the ftl, so I
think they completely ignore the attribute, If you want you have to
override the ftl in another theme, I think.
PS: No idea on 2.1.x cos I have not yet used it.
Regards,
Jishnu Viswanath
Software Engineer
*(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll
Tavant Technologies Inc.,
www.tavant.com
PEOPLE :: PASSION :: EXCELLENCE
-----Original Message-----
From: Martin Gainty [mailto:mgainty@hotmail.com]
Sent: Sunday, September 28, 2008 6:39 AM
To: Struts Users Mailing List
Subject: RE: tooltipIconPath attribute not working?
Hello Jishnu-
what happens when you configure the tooltipIconPath attribute in the
form beforehand ?
<s:form
tooltipDelay="500"
tooltipIconPath="/myImages/myIcon.gif" .... >
<s:textarea label="Comments" name="comments" cols="30" rows="8"/>
//tooltipIconPath should be inherited from form
?
Martin
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official
business of Sender. This transmission is of a confidential nature and
Sender does not endorse distribution to any party other than intended
recipient. Sender does not necessarily endorse content contained within
this transmission.
> Subject: RE: tooltipIconPath attribute not working?
> Date: Sun, 28 Sep 2008 06:06:44 +0530
> From: jishnu.viswanath@tavant.com
> To: user@struts.apache.org
>
>
http://struts.apache.org/2.0.6/struts2-core/apidocs/org/apache/struts2/c
> omponents/UIBean.html
>
> Check examples
>
> Regards,
>
> Jishnu Viswanath
>
> Software Engineer
>
> *(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll
>
> Tavant Technologies Inc.,
>
> www.tavant.com
>
> PEOPLE :: PASSION :: EXCELLENCE
>
> -----Original Message-----
> From: Unmesh Kulkarni [mailto:unmeshonline@gmail.com]
> Sent: Sunday, September 28, 2008 1:35 AM
> To: user@struts.apache.org
> Subject: tooltipIconPath attribute not working?
>
> Hi,
> I need help on setting the tooltip images.
>
> tooltipIconPath attribute is defined in the tag documentation, so I
used
> it
> as under:
>
> <s:textarea key="comments" label="Comments" tooltip="my tooltip blah
> blah" tooltipIconPath="images/tooltip_question.gif" rows="10"
> cols="80"/>
>
> But it's usage gives the following error:
>
> Attribute tooltipIconPath invalid for tag textarea according to TLD
>
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:5
> 15)
>
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher
> .java:419)
>
>
> I am using struts-2.0.11.1. with Tomcat 5.0.28.
>
> Is this a bug, or a problem with the way I'm using it? If it's a bug,
> are
> there any workarounds to set tooltip icons?
>
> TiA,
> -Unmesh
> Any comments or statements made in this email are not necessarily
those of Tavant Technologies.
> The information transmitted is intended only for the person or entity
to which it is addressed and may
> contain confidential and/or privileged material. If you have received
this in error, please contact the
> sender and delete the material from any computer. All e-mails sent
from or to Tavant Technologies
> may be subject to our monitoring procedures.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
_________________________________________________________________
See how Windows Mobile brings your life together-at home, work, or on
the go.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/
Any comments or statements made in this email are not necessarily those of Tavant Technologies.
The information transmitted is intended only for the person or entity to which it is addressed and may
contain confidential and/or privileged material. If you have received this in error, please contact the
sender and delete the material from any computer. All e-mails sent from or to Tavant Technologies
may be subject to our monitoring procedures.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: tooltipIconPath attribute not working?
Posted by Martin Gainty <mg...@hotmail.com>.
Hello Jishnu-
what happens when you configure the tooltipIconPath attribute in the form beforehand ?
<s:form
tooltipDelay="500"
tooltipIconPath="/myImages/myIcon.gif" .... >
<s:textarea label="Comments" name="comments" cols="30" rows="8"/>
//tooltipIconPath should be inherited from form
?
Martin
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission.
> Subject: RE: tooltipIconPath attribute not working?
> Date: Sun, 28 Sep 2008 06:06:44 +0530
> From: jishnu.viswanath@tavant.com
> To: user@struts.apache.org
>
> http://struts.apache.org/2.0.6/struts2-core/apidocs/org/apache/struts2/c
> omponents/UIBean.html
>
> Check examples
>
> Regards,
>
> Jishnu Viswanath
>
> Software Engineer
>
> *(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll
>
> Tavant Technologies Inc.,
>
> www.tavant.com
>
> PEOPLE :: PASSION :: EXCELLENCE
>
> -----Original Message-----
> From: Unmesh Kulkarni [mailto:unmeshonline@gmail.com]
> Sent: Sunday, September 28, 2008 1:35 AM
> To: user@struts.apache.org
> Subject: tooltipIconPath attribute not working?
>
> Hi,
> I need help on setting the tooltip images.
>
> tooltipIconPath attribute is defined in the tag documentation, so I used
> it
> as under:
>
> <s:textarea key="comments" label="Comments" tooltip="my tooltip blah
> blah" tooltipIconPath="images/tooltip_question.gif" rows="10"
> cols="80"/>
>
> But it's usage gives the following error:
>
> Attribute tooltipIconPath invalid for tag textarea according to TLD
> org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:5
> 15)
> org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher
> .java:419)
>
>
> I am using struts-2.0.11.1. with Tomcat 5.0.28.
>
> Is this a bug, or a problem with the way I'm using it? If it's a bug,
> are
> there any workarounds to set tooltip icons?
>
> TiA,
> -Unmesh
> Any comments or statements made in this email are not necessarily those of Tavant Technologies.
> The information transmitted is intended only for the person or entity to which it is addressed and may
> contain confidential and/or privileged material. If you have received this in error, please contact the
> sender and delete the material from any computer. All e-mails sent from or to Tavant Technologies
> may be subject to our monitoring procedures.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
_________________________________________________________________
See how Windows Mobile brings your life together—at home, work, or on the go.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/
RE: tooltipIconPath attribute not working?
Posted by Jishnu Viswanath <ji...@tavant.com>.
http://struts.apache.org/2.0.6/struts2-core/apidocs/org/apache/struts2/c
omponents/UIBean.html
Check examples
Regards,
Jishnu Viswanath
Software Engineer
*(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll
Tavant Technologies Inc.,
www.tavant.com
PEOPLE :: PASSION :: EXCELLENCE
-----Original Message-----
From: Unmesh Kulkarni [mailto:unmeshonline@gmail.com]
Sent: Sunday, September 28, 2008 1:35 AM
To: user@struts.apache.org
Subject: tooltipIconPath attribute not working?
Hi,
I need help on setting the tooltip images.
tooltipIconPath attribute is defined in the tag documentation, so I used
it
as under:
<s:textarea key="comments" label="Comments" tooltip="my tooltip blah
blah" tooltipIconPath="images/tooltip_question.gif" rows="10"
cols="80"/>
But it's usage gives the following error:
Attribute tooltipIconPath invalid for tag textarea according to TLD
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:5
15)
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher
.java:419)
I am using struts-2.0.11.1. with Tomcat 5.0.28.
Is this a bug, or a problem with the way I'm using it? If it's a bug,
are
there any workarounds to set tooltip icons?
TiA,
-Unmesh
Any comments or statements made in this email are not necessarily those of Tavant Technologies.
The information transmitted is intended only for the person or entity to which it is addressed and may
contain confidential and/or privileged material. If you have received this in error, please contact the
sender and delete the material from any computer. All e-mails sent from or to Tavant Technologies
may be subject to our monitoring procedures.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: tooltipIconPath attribute not working?
Posted by Martin Gainty <mg...@hotmail.com>.
did you set tooltip="true"
as suggested earlier
?
Martin
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission.
> Date: Sun, 28 Sep 2008 12:31:05 -0700
> From: unmeshonline@gmail.com
> To: user@struts.apache.org
> Subject: Re: tooltipIconPath attribute not working?
>
> Hi,
>
> I am using struts-2.0.11.1 (GA version before the current GA 2.0.11.2) and
> referring to the documentation that came with it. It says tooltipConfig is
> deprecated and asks me to "Use individual tooltip configuration attributes
> instead".
>
> The documentation defines tooltipIconPath but not tooltipIcon. Neither
> works. I guess the documentation is ahead of the code, which is pleasant for
> a change ;-)
>
> No big issue. I'll try it out later when the new GA version 2.1.x arrives.
>
> Thanks,
> Unmesh
>
>
>
> On Sat, Sep 27, 2008 at 7:30 PM, Jishnu Viswanath <
> jishnu.viswanath@tavant.com> wrote:
>
> > My Bad!!! Ok I got it, any way thanks, then it should work in 2.1.x.
> >
> > Regards,
> >
> > Jishnu Viswanath
> >
> > Software Engineer
> >
> > *(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll
> >
> > Tavant Technologies Inc.,
> >
> > www.tavant.com
> >
> > PEOPLE :: PASSION :: EXCELLENCE
> >
> >
> > -----Original Message-----
> > From: Dave Newton [mailto:newton.dave@yahoo.com]
> > Sent: Sunday, September 28, 2008 7:54 AM
> > To: Struts Users Mailing List
> > Subject: RE: tooltipIconPath attribute not working?
> >
> > --- On Sat, 9/27/08, Jishnu Viswanath wrote:
> > > I have 2.1.2, any way could you grep it in webwork.tld? I
> > > don't have a single result in 2.1.2
> >
> > You're doing it wrong; it's in 2.1.2 as well:
> >
> > ../struts-2.1.2/lib/tmp $ grep -n tooltipIconPath
> > META-INF/struts-tags.tld
> > 295: <name>tooltipIconPath</name>
> > 542: <name>tooltipIconPath</name>
> > 801: <name>tooltipIconPath</name>
> > 1098: <name>tooltipIconPath</name>
> > 1363: <name>tooltipIconPath</name>
> > 1670: <name>tooltipIconPath</name>
> > 1954: <name>tooltipIconPath</name>
> > 2207: <name>tooltipIconPath</name>
> > 2682: <name>tooltipIconPath</name>
> > 2949: <name>tooltipIconPath</name>
> > 3208: <name>tooltipIconPath</name>
> > 3515: <name>tooltipIconPath</name>
> > 3774: <name>tooltipIconPath</name>
> > 4021: <name>tooltipIconPath</name>
> > 4268: <name>tooltipIconPath</name>
> > 4656: <name>tooltipIconPath</name>
> > 4946: <name>tooltipIconPath</name>
> > 5627: <name>tooltipIconPath</name>
> > 5935: <name>tooltipIconPath</name>
> > 6238: <name>tooltipIconPath</name>
> > 6503: <name>tooltipIconPath</name>
> > 6804: <name>tooltipIconPath</name>
> > 7112: <name>tooltipIconPath</name>
> > 7408: <name>tooltipIconPath</name>
> > 7685: <name>tooltipIconPath</name>
> > 7932: <name>tooltipIconPath</name>
> > 8366: <name>tooltipIconPath</name>
> >
> > With -C5:
> >
> > 8361- <required>false</required>
> > 8362- <rtexprvalue>false</rtexprvalue>
> > 8363- <description><![CDATA[Delay in milliseconds, before showing
> > JavaScript tooltips ]]></description>
> > 8364- </attribute>
> > 8365- <attribute>
> > 8366: <name>tooltipIconPath</name>
> > 8367- <required>false</required>
> > 8368- <rtexprvalue>false</rtexprvalue>
> > 8369- <description><![CDATA[Icon path used for image that will have
> > the tooltip]]></description>
> > 8370- </attribute>
> > 8371- <attribute>
> >
> > Dave
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> > Any comments or statements made in this email are not necessarily those of
> > Tavant Technologies.
> > The information transmitted is intended only for the person or entity to
> > which it is addressed and may
> > contain confidential and/or privileged material. If you have received this
> > in error, please contact the
> > sender and delete the material from any computer. All e-mails sent from or
> > to Tavant Technologies
> > may be subject to our monitoring procedures.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
_________________________________________________________________
Stay up to date on your PC, the Web, and your mobile phone with Windows Live.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/
Re: tooltipIconPath attribute not working?
Posted by Unmesh Kulkarni <un...@gmail.com>.
Hi,
I am using struts-2.0.11.1 (GA version before the current GA 2.0.11.2) and
referring to the documentation that came with it. It says tooltipConfig is
deprecated and asks me to "Use individual tooltip configuration attributes
instead".
The documentation defines tooltipIconPath but not tooltipIcon. Neither
works. I guess the documentation is ahead of the code, which is pleasant for
a change ;-)
No big issue. I'll try it out later when the new GA version 2.1.x arrives.
Thanks,
Unmesh
On Sat, Sep 27, 2008 at 7:30 PM, Jishnu Viswanath <
jishnu.viswanath@tavant.com> wrote:
> My Bad!!! Ok I got it, any way thanks, then it should work in 2.1.x.
>
> Regards,
>
> Jishnu Viswanath
>
> Software Engineer
>
> *(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll
>
> Tavant Technologies Inc.,
>
> www.tavant.com
>
> PEOPLE :: PASSION :: EXCELLENCE
>
>
> -----Original Message-----
> From: Dave Newton [mailto:newton.dave@yahoo.com]
> Sent: Sunday, September 28, 2008 7:54 AM
> To: Struts Users Mailing List
> Subject: RE: tooltipIconPath attribute not working?
>
> --- On Sat, 9/27/08, Jishnu Viswanath wrote:
> > I have 2.1.2, any way could you grep it in webwork.tld? I
> > don't have a single result in 2.1.2
>
> You're doing it wrong; it's in 2.1.2 as well:
>
> ../struts-2.1.2/lib/tmp $ grep -n tooltipIconPath
> META-INF/struts-tags.tld
> 295: <name>tooltipIconPath</name>
> 542: <name>tooltipIconPath</name>
> 801: <name>tooltipIconPath</name>
> 1098: <name>tooltipIconPath</name>
> 1363: <name>tooltipIconPath</name>
> 1670: <name>tooltipIconPath</name>
> 1954: <name>tooltipIconPath</name>
> 2207: <name>tooltipIconPath</name>
> 2682: <name>tooltipIconPath</name>
> 2949: <name>tooltipIconPath</name>
> 3208: <name>tooltipIconPath</name>
> 3515: <name>tooltipIconPath</name>
> 3774: <name>tooltipIconPath</name>
> 4021: <name>tooltipIconPath</name>
> 4268: <name>tooltipIconPath</name>
> 4656: <name>tooltipIconPath</name>
> 4946: <name>tooltipIconPath</name>
> 5627: <name>tooltipIconPath</name>
> 5935: <name>tooltipIconPath</name>
> 6238: <name>tooltipIconPath</name>
> 6503: <name>tooltipIconPath</name>
> 6804: <name>tooltipIconPath</name>
> 7112: <name>tooltipIconPath</name>
> 7408: <name>tooltipIconPath</name>
> 7685: <name>tooltipIconPath</name>
> 7932: <name>tooltipIconPath</name>
> 8366: <name>tooltipIconPath</name>
>
> With -C5:
>
> 8361- <required>false</required>
> 8362- <rtexprvalue>false</rtexprvalue>
> 8363- <description><![CDATA[Delay in milliseconds, before showing
> JavaScript tooltips ]]></description>
> 8364- </attribute>
> 8365- <attribute>
> 8366: <name>tooltipIconPath</name>
> 8367- <required>false</required>
> 8368- <rtexprvalue>false</rtexprvalue>
> 8369- <description><![CDATA[Icon path used for image that will have
> the tooltip]]></description>
> 8370- </attribute>
> 8371- <attribute>
>
> Dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
> Any comments or statements made in this email are not necessarily those of
> Tavant Technologies.
> The information transmitted is intended only for the person or entity to
> which it is addressed and may
> contain confidential and/or privileged material. If you have received this
> in error, please contact the
> sender and delete the material from any computer. All e-mails sent from or
> to Tavant Technologies
> may be subject to our monitoring procedures.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
RE: tooltipIconPath attribute not working?
Posted by Jishnu Viswanath <ji...@tavant.com>.
My Bad!!! Ok I got it, any way thanks, then it should work in 2.1.x.
Regards,
Jishnu Viswanath
Software Engineer
*(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll
Tavant Technologies Inc.,
www.tavant.com
PEOPLE :: PASSION :: EXCELLENCE
-----Original Message-----
From: Dave Newton [mailto:newton.dave@yahoo.com]
Sent: Sunday, September 28, 2008 7:54 AM
To: Struts Users Mailing List
Subject: RE: tooltipIconPath attribute not working?
--- On Sat, 9/27/08, Jishnu Viswanath wrote:
> I have 2.1.2, any way could you grep it in webwork.tld? I
> don't have a single result in 2.1.2
You're doing it wrong; it's in 2.1.2 as well:
../struts-2.1.2/lib/tmp $ grep -n tooltipIconPath
META-INF/struts-tags.tld
295: <name>tooltipIconPath</name>
542: <name>tooltipIconPath</name>
801: <name>tooltipIconPath</name>
1098: <name>tooltipIconPath</name>
1363: <name>tooltipIconPath</name>
1670: <name>tooltipIconPath</name>
1954: <name>tooltipIconPath</name>
2207: <name>tooltipIconPath</name>
2682: <name>tooltipIconPath</name>
2949: <name>tooltipIconPath</name>
3208: <name>tooltipIconPath</name>
3515: <name>tooltipIconPath</name>
3774: <name>tooltipIconPath</name>
4021: <name>tooltipIconPath</name>
4268: <name>tooltipIconPath</name>
4656: <name>tooltipIconPath</name>
4946: <name>tooltipIconPath</name>
5627: <name>tooltipIconPath</name>
5935: <name>tooltipIconPath</name>
6238: <name>tooltipIconPath</name>
6503: <name>tooltipIconPath</name>
6804: <name>tooltipIconPath</name>
7112: <name>tooltipIconPath</name>
7408: <name>tooltipIconPath</name>
7685: <name>tooltipIconPath</name>
7932: <name>tooltipIconPath</name>
8366: <name>tooltipIconPath</name>
With -C5:
8361- <required>false</required>
8362- <rtexprvalue>false</rtexprvalue>
8363- <description><![CDATA[Delay in milliseconds, before showing
JavaScript tooltips ]]></description>
8364- </attribute>
8365- <attribute>
8366: <name>tooltipIconPath</name>
8367- <required>false</required>
8368- <rtexprvalue>false</rtexprvalue>
8369- <description><![CDATA[Icon path used for image that will have
the tooltip]]></description>
8370- </attribute>
8371- <attribute>
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Any comments or statements made in this email are not necessarily those of Tavant Technologies.
The information transmitted is intended only for the person or entity to which it is addressed and may
contain confidential and/or privileged material. If you have received this in error, please contact the
sender and delete the material from any computer. All e-mails sent from or to Tavant Technologies
may be subject to our monitoring procedures.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: tooltipIconPath attribute not working?
Posted by Dave Newton <ne...@yahoo.com>.
--- On Sat, 9/27/08, Jishnu Viswanath wrote:
> I have 2.1.2, any way could you grep it in webwork.tld? I
> don't have a single result in 2.1.2
You're doing it wrong; it's in 2.1.2 as well:
.../struts-2.1.2/lib/tmp $ grep -n tooltipIconPath META-INF/struts-tags.tld
295: <name>tooltipIconPath</name>
542: <name>tooltipIconPath</name>
801: <name>tooltipIconPath</name>
1098: <name>tooltipIconPath</name>
1363: <name>tooltipIconPath</name>
1670: <name>tooltipIconPath</name>
1954: <name>tooltipIconPath</name>
2207: <name>tooltipIconPath</name>
2682: <name>tooltipIconPath</name>
2949: <name>tooltipIconPath</name>
3208: <name>tooltipIconPath</name>
3515: <name>tooltipIconPath</name>
3774: <name>tooltipIconPath</name>
4021: <name>tooltipIconPath</name>
4268: <name>tooltipIconPath</name>
4656: <name>tooltipIconPath</name>
4946: <name>tooltipIconPath</name>
5627: <name>tooltipIconPath</name>
5935: <name>tooltipIconPath</name>
6238: <name>tooltipIconPath</name>
6503: <name>tooltipIconPath</name>
6804: <name>tooltipIconPath</name>
7112: <name>tooltipIconPath</name>
7408: <name>tooltipIconPath</name>
7685: <name>tooltipIconPath</name>
7932: <name>tooltipIconPath</name>
8366: <name>tooltipIconPath</name>
With -C5:
8361- <required>false</required>
8362- <rtexprvalue>false</rtexprvalue>
8363- <description><![CDATA[Delay in milliseconds, before showing JavaScript tooltips ]]></description>
8364- </attribute>
8365- <attribute>
8366: <name>tooltipIconPath</name>
8367- <required>false</required>
8368- <rtexprvalue>false</rtexprvalue>
8369- <description><![CDATA[Icon path used for image that will have the tooltip]]></description>
8370- </attribute>
8371- <attribute>
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: tooltipIconPath attribute not working?
Posted by Jishnu Viswanath <ji...@tavant.com>.
I have 2.1.2, any way could you grep it in webwork.tld? I don't have a
single result in 2.1.2
Regards,
Jishnu Viswanath
Software Engineer
*(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll
Tavant Technologies Inc.,
www.tavant.com
PEOPLE :: PASSION :: EXCELLENCE
-----Original Message-----
From: Dave Newton [mailto:newton.dave@yahoo.com]
Sent: Sunday, September 28, 2008 7:43 AM
To: Struts Users Mailing List
Subject: RE: tooltipIconPath attribute not working?
--- On Sat, 9/27/08, Jishnu Viswanath wrote:
> Ok I misunderstood toolTipIcon for toolTipIconPath, any way
> I can not find tooltipIconPath in tlds (both 2.0.x and 2.1.x),
> so that means you can not set it.
We must have different versions then; grepping for "tooltipIconPath" in
S2.1.3, at least, returns 27 hits.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Any comments or statements made in this email are not necessarily those of Tavant Technologies.
The information transmitted is intended only for the person or entity to which it is addressed and may
contain confidential and/or privileged material. If you have received this in error, please contact the
sender and delete the material from any computer. All e-mails sent from or to Tavant Technologies
may be subject to our monitoring procedures.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: tooltipIconPath attribute not working?
Posted by Dave Newton <ne...@yahoo.com>.
--- On Sat, 9/27/08, Jishnu Viswanath wrote:
> Ok I misunderstood toolTipIcon for toolTipIconPath, any way
> I can not find tooltipIconPath in tlds (both 2.0.x and 2.1.x),
> so that means you can not set it.
We must have different versions then; grepping for "tooltipIconPath" in S2.1.3, at least, returns 27 hits.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: tooltipIconPath attribute not working?
Posted by Jishnu Viswanath <ji...@tavant.com>.
Ok I misunderstood toolTipIcon for toolTipIconPath, any way I can not
find tooltipIconPath in tlds (both 2.0.x and 2.1.x), so that means you
can not set it.
So the toolTipIconPath would never work,
And when looked in 2.1.x code I found this in UIBean
830 //TODO: this is to keep backward compatibility, remove
once when tooltipConfig is dropped
831 String tooltipIcon = (String)
getParameters().get("tooltipIcon");
832 if (tooltipIcon != null)
833 this.addParameter("tooltipIconPath", tooltipIcon);
834 if (this.tooltipIconPath != null)
835 this.addParameter("tooltipIconPath",
findString(this.tooltipIconPath));
Ya you were rite, they were added in 2.1.x but not yet completely added.
Regards,
Jishnu Viswanath
Software Engineer
*(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll
Tavant Technologies Inc.,
www.tavant.com
PEOPLE :: PASSION :: EXCELLENCE
-----Original Message-----
From: Dave Newton [mailto:newton.dave@yahoo.com]
Sent: Sunday, September 28, 2008 7:13 AM
To: Struts Users Mailing List
Subject: RE: tooltipIconPath attribute not working?
--- On Sat, 9/27/08, Jishnu Viswanath wrote:
> By the way, in struts 2.0.x, the attribute toolTipConfig
> exists that what the documentation says, the link I gave
> was the doc of UIBean, I checked the code of UIBean, in
> which they split with = and add all parameter to the ftl.
Nobody's talking about "toolTipConfig". We're talking about
"tooltipIconPath".
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Any comments or statements made in this email are not necessarily those of Tavant Technologies.
The information transmitted is intended only for the person or entity to which it is addressed and may
contain confidential and/or privileged material. If you have received this in error, please contact the
sender and delete the material from any computer. All e-mails sent from or to Tavant Technologies
may be subject to our monitoring procedures.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: tooltipIconPath attribute not working?
Posted by Dave Newton <ne...@yahoo.com>.
--- On Sat, 9/27/08, Jishnu Viswanath wrote:
> By the way, in struts 2.0.x, the attribute toolTipConfig
> exists that what the documentation says, the link I gave
> was the doc of UIBean, I checked the code of UIBean, in
> which they split with = and add all parameter to the ftl.
Nobody's talking about "toolTipConfig". We're talking about "tooltipIconPath".
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: tooltipIconPath attribute not working?
Posted by Jishnu Viswanath <ji...@tavant.com>.
Hi,
That quite unusual, cos I have just tried it, it did not gave me
any error, by the way it wont work as the ftl was never given any
indication on what to do with it.
I can't test it now either, cos I have migrated whole code to dojo 1.0,
so we chucked things that we don't want one such was tooltip.
By the way, in struts 2.0.x, the attribute toolTipConfig exists that
what the documentation says, the link I gave was the doc of UIBean, I
checked the code of UIBean, in which they split with = and add all
parameter to the ftl.
But I think none of the ftl is written to use it.
Regards,
Jishnu Viswanath
Software Engineer
*(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll
Tavant Technologies Inc.,
www.tavant.com
PEOPLE :: PASSION :: EXCELLENCE
-----Original Message-----
From: Dave Newton [mailto:newton.dave@yahoo.com]
Sent: Sunday, September 28, 2008 6:47 AM
To: Struts Users Mailing List
Subject: RE: tooltipIconPath attribute not working?
--- On Sat, 9/27/08, Jishnu Viswanath wrote:
> I don't think its included it in 2.1 but it was there
> in 2.0.6 toolTipIcon does not come directly under but
> an attribute to toolTipConfig.
>
> Check UIBean, and tld you can find toolTipConfig.
Not sure what you're talking about.
"tooltipIconPath", which is what the original poster asked about, is in
S2.1 but not in S2.0 as of 2.0.11, anyway, which is the latest I have
locally--I didn't check the repository.
Dave
> I wrote:
> --- On Sat, 9/27/08, Unmesh Kulkarni wrote:
> > I need help on setting the tooltip images.
> >
> > tooltipIconPath attribute is defined in the tag
> > documentation, so I used it as under:
> >
> > <s:textarea key="comments" label="Comments"
> > tooltip="my tooltip..."
> > tooltipIconPath="images/tooltip_question.gif"
> > rows="10" cols="80"/>
> >
> > But it's usage gives the following error:
> >
> > Attribute tooltipIconPath invalid for tag textarea
> > according to TLD
>
> I'm not sure which version of S2 introduced the
> "tooltipIconPath". [...]
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Any comments or statements made in this email are not necessarily those of Tavant Technologies.
The information transmitted is intended only for the person or entity to which it is addressed and may
contain confidential and/or privileged material. If you have received this in error, please contact the
sender and delete the material from any computer. All e-mails sent from or to Tavant Technologies
may be subject to our monitoring procedures.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: tooltipIconPath attribute not working?
Posted by Dave Newton <ne...@yahoo.com>.
--- On Sat, 9/27/08, Jishnu Viswanath wrote:
> I don't think its included it in 2.1 but it was there
> in 2.0.6 toolTipIcon does not come directly under but
> an attribute to toolTipConfig.
>
> Check UIBean, and tld you can find toolTipConfig.
Not sure what you're talking about.
"tooltipIconPath", which is what the original poster asked about, is in S2.1 but not in S2.0 as of 2.0.11, anyway, which is the latest I have locally--I didn't check the repository.
Dave
> I wrote:
> --- On Sat, 9/27/08, Unmesh Kulkarni wrote:
> > I need help on setting the tooltip images.
> >
> > tooltipIconPath attribute is defined in the tag
> > documentation, so I used it as under:
> >
> > <s:textarea key="comments" label="Comments"
> > tooltip="my tooltip..."
> > tooltipIconPath="images/tooltip_question.gif"
> > rows="10" cols="80"/>
> >
> > But it's usage gives the following error:
> >
> > Attribute tooltipIconPath invalid for tag textarea
> > according to TLD
>
> I'm not sure which version of S2 introduced the
> "tooltipIconPath". [...]
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: tooltipIconPath attribute not working?
Posted by Jishnu Viswanath <ji...@tavant.com>.
Dave,
I don't think its included it in 2.1 but it was there in 2.0.6
toolTipIcon does not come directly under but an attribute to
toolTipConfig.
Check UIBean, and tld you can find toolTipConfig.
http://struts.apache.org/2.0.6/struts2-core/apidocs/org/apache/struts2/c
omponents/UIBean.html
Regards,
Jishnu Viswanath
Software Engineer
*(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll
Tavant Technologies Inc.,
www.tavant.com
PEOPLE :: PASSION :: EXCELLENCE
-----Original Message-----
From: Dave Newton [mailto:newton.dave@yahoo.com]
Sent: Sunday, September 28, 2008 6:31 AM
To: Struts Users Mailing List
Subject: Re: tooltipIconPath attribute not working?
--- On Sat, 9/27/08, Unmesh Kulkarni wrote:
> I need help on setting the tooltip images.
>
> tooltipIconPath attribute is defined in the tag
> documentation, so I used it as under:
>
> <s:textarea key="comments"
> label="Comments" tooltip="my tooltip blah
> blah"
> tooltipIconPath="images/tooltip_question.gif"
> rows="10"
> cols="80"/>
>
> But it's usage gives the following error:
>
> Attribute tooltipIconPath invalid for tag textarea
> according to TLD
I'm not sure which version of S2 introduced the "tooltipIconPath".
The wiki isn't "versioned" the same way the releases are; we have only a
single wiki covering all versions. One issue with that is that many
pages include documentation generated from the code itself, but of the
most recent version, not necessarily the most recently *released*
version.
It's possible that "tooltipIconPath" is actually a S2.1 tag attribute
and isn't annotated as such in the source code.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Any comments or statements made in this email are not necessarily those of Tavant Technologies.
The information transmitted is intended only for the person or entity to which it is addressed and may
contain confidential and/or privileged material. If you have received this in error, please contact the
sender and delete the material from any computer. All e-mails sent from or to Tavant Technologies
may be subject to our monitoring procedures.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: tooltipIconPath attribute not working?
Posted by Dave Newton <ne...@yahoo.com>.
--- On Sat, 9/27/08, Unmesh Kulkarni wrote:
> I need help on setting the tooltip images.
>
> tooltipIconPath attribute is defined in the tag
> documentation, so I used it as under:
>
> <s:textarea key="comments"
> label="Comments" tooltip="my tooltip blah
> blah"
> tooltipIconPath="images/tooltip_question.gif"
> rows="10"
> cols="80"/>
>
> But it's usage gives the following error:
>
> Attribute tooltipIconPath invalid for tag textarea
> according to TLD
I'm not sure which version of S2 introduced the "tooltipIconPath".
The wiki isn't "versioned" the same way the releases are; we have only a single wiki covering all versions. One issue with that is that many pages include documentation generated from the code itself, but of the most recent version, not necessarily the most recently *released* version.
It's possible that "tooltipIconPath" is actually a S2.1 tag attribute and isn't annotated as such in the source code.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org