I tried renaming my doDefault() to start() and changing my URL to:

http://localhost:8080/appfuse-struts-war/uploadFile!start.html

... and it works.

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


On 8/30/06, Ted Husted <[EMAIL PROTECTED]> wrote:
Thanks, Matt. I've added both points to the release notes.

Let us know if you find anything else.

-Ted.

On 8/30/06, Matt Raible <[EMAIL PROTECTED]> wrote:
> I think it's fine to refactor, as long as it's documented.  Currently,
> it's not listed on the release notes.
>
> http://cwiki.apache.org/confluence/display/WW/Release+Notes+2.0.0
>
> Another item missing is the need to rename com.opensymphony.xwork
> references to com.opensymphony.xwork2.
>
> Matt


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to