Hi, On Tue, Jan 20, 2009 at 2:08 PM, Zoran Avtarovski <zo...@sparecreative.com> wrote: > I¹ve just upgraded an app from 2.0.xx to 2.1.6 and found that the s:select > tag is incorrectly rendering the tooltip html. > > I¹ve gone back to defaults and this is what¹s being produced:: > > <td class="tdLabel"><label for="enterTx_transaction_transactionTypeId" > class="label">Payment Type: > <img src='/mms/struts/tooltip.gif' title="Tooltip copy goes here."/> > alt=" Tooltip copy goes here." > </label></td>
My guess would be you use the xhtml theme? > You¹ll notice that the img tag is closed before the alt parameter. It looks > like it¹s an error in the freemarker template that needs to be rectified. Yes. My freemarker is not as good as it was, but this looks like a bug in the xhtml-theme freemarker template for tooltips[1]. Please go to to the Jira[2] and file a bug for this. A workaround would be to extend the xhtml theme[3] and fix the freemarker-template in question by moving the alt attribute into the img element. Cheers, -Ralf [1] http://svn.apache.org/viewvc/struts/struts2/tags/STRUTS_2_1_6/core/src/main/resources/template/xhtml/tooltip.ftl?view=markup [2] https://issues.apache.org/struts/secure/Dashboard.jspa [3] http://struts.apache.org/2.1.6/docs/extending-themes.html --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org