I opened WW-1425 to cover the incomplete or unnecessary dojo references.
* https://issues.apache.org/struts/browse/WW-1425 -T. On 8/30/06, Matt Raible <[EMAIL PROTECTED]> wrote:
Now I'm onto a new issue - it seems like Dojo is getting included at the bottom of my signup form. <!-- javascript that is needed for tooltips --> <script language="JavaScript" type="text/javascript">dojo.require("dojo.widget.html.Tooltip");dojo.require("dojo.fx.html");</script> This results in the following error in my Canoo WebTest: Signup: BUILD FAILED /Users/mraible/Work/appfuse-webwork/build.xml:585: The following error occurred while executing this line: /Users/mraible/Work/appfuse-webwork/test/web/web-tests.xml:160: Canoo Webtest: R_1263. Test failed. Test step invoke (/Users/mraible/Work/appfuse-webwork/test/web/web-tests.xml:166: ) named "click signup link" failed with message "Step[invoke "click signup link" (2/19)]: Script error loading page executing webtest at: invoke TypeError: Cannot call method "require" of null (Embedded script in http://localhost:8080/appfuse-struts-war/signup.html#1) Source code: dojo.require("dojo.widget.html.Tooltip");dojo.require("dojo.fx.html");" Total time: 11 seconds Is this something that's new in Struts 2.0.0? Do I need to include Dojo includes in my <head>? Thanks, Matt
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]