Man, this morning came my Duh !!!! moment.
The requirement was to change the tooltip image to something that would make our clients happy.
For reasons best known to them, they were very unhappy with the default tooltip,gif provided by struts.
I was like no problemo, that should be simple, we were on struts2.3.16.1, just had to figure out how to specify the tooltip path and put the new image in path.
Google search landed me on this page :
http://struts.apache.org/release/2.3.x/struts2-core/apidocs/org/apache/struts2/components/UIBean.html
Perfect !!! I thought, they specify use tooltipIcon and all will be well.
Tried and tried it did not work.
After about 15 to 20 mins of this decided to read the entire page.
Found that the instructions were not accurate, but the example in the page was accurate.
It was not tooltipIcon but tooltipIconPath that was the correct parameter.
So, finally what I ended up doing was providing the tooltipIconPath in the s:form tag, problem solved.
The requirement was to change the tooltip image to something that would make our clients happy.
For reasons best known to them, they were very unhappy with the default tooltip,gif provided by struts.
I was like no problemo, that should be simple, we were on struts2.3.16.1, just had to figure out how to specify the tooltip path and put the new image in path.
Google search landed me on this page :
http://struts.apache.org/release/2.3.x/struts2-core/apidocs/org/apache/struts2/components/UIBean.html
Perfect !!! I thought, they specify use tooltipIcon and all will be well.
Tried and tried it did not work.
After about 15 to 20 mins of this decided to read the entire page.
Found that the instructions were not accurate, but the example in the page was accurate.
It was not tooltipIcon but tooltipIconPath that was the correct parameter.
So, finally what I ended up doing was providing the tooltipIconPath in the s:form tag, problem solved.