AppFuse has issues with Dojo because we use a .html extension. Your choices are:
1. Try searching the archives @ http://appfuse.markmail.org to find a workaround (requires a few code modifications). 2. Change the extension to something like .action and add <s:head/> to your <head> element. Matt On Mon, Mar 23, 2009 at 3:23 PM, mmaia <maia.mar...@gmail.com> wrote: > > Hi, > > Whenever I try to add a tooltip to a struts 2 textfield causes an error. I > can see this error because I use Firebug for firefox. The error is: > > The tooltip added is like: > <s:textfield key="user.username" cssClass="text large" required="true" > tooltip="This is the tooltip for this textfield!"/> > > And the error message: > > dojo is not defined: > <script > type="text/javascript">dojo.requ...);dojo.require("dojo.fx.html");</script> > > Follows an image to visualize the error: > http://www.nabble.com/file/p22669446/erroTooltipStruts.jpg > > I tryied to download dojo.js from official website and added to scripts > folder but didn't work. > > Any workarounds for this error? I couldn't find a solution so far. > > tx, > regards, > []s > > > -- > View this message in context: > http://www.nabble.com/Using-struts-2-tooltip-causes-error%21-tp22669446s2369p22669446.html > Sent from the AppFuse - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net > For additional commands, e-mail: users-h...@appfuse.dev.java.net > >