You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Ted Husted (JIRA)" <ji...@apache.org> on 2006/09/01 13:49:31 UTC

[jira] Updated: (WW-1425) The form tag is generating incomplete and/or unnecessary references to dojo

     [ http://issues.apache.org/struts/browse/WW-1425?page=all ]

Ted Husted updated WW-1425:
---------------------------

        Fix Version/s: 2.0.0
    Affects Version/s:     (was: 2.0.1)

> The form tag is generating incomplete and/or unnecessary references to dojo
> ---------------------------------------------------------------------------
>
>                 Key: WW-1425
>                 URL: http://issues.apache.org/struts/browse/WW-1425
>             Project: Struts 2
>          Issue Type: Bug
>            Reporter: Ted Husted
>             Fix For: 2.0.0
>
>
> On 8/30/06, Matt Raible <mr...@gmail.com> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira