You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "Rainer Hermanns (JIRA)" <ji...@apache.org> on 2006/04/30 11:22:20 UTC

[jira] Resolved: (WW-1260) Quickstart does not work well with DWR

     [ http://issues.apache.org/struts/browse/WW-1260?page=all ]
     
Rainer Hermanns resolved WW-1260:
---------------------------------

    Resolution: Not A Problem

Just had a look at this. It's not a webwork bug, but a misconfigured usage of DWR calling an action.
If you want webwork to deliver a result for your ajax components, you should call the action directly 
and evaluate the returned result. It might be useful to create a new JSONResult or XMLResult, that 
returns the required structure.

I am closing this issue now, since it is not a problem related to webwork.
If you need further advice on this feel free to post to the list or forums.
   

> Quickstart does not work well with DWR
> --------------------------------------
>
>          Key: WW-1260
>          URL: http://issues.apache.org/struts/browse/WW-1260
>      Project: Struts Action 2
>         Type: Bug

>   Components: Misc
>     Versions: WW 2.2.1
>  Environment: Ubuntu 5.10, Java 1.5 (jdk1.5.0_06)
>     Reporter: Francisco Assis Rosa
>     Assignee: Rainer Hermanns
>      Fix For: 2.0
>  Attachments: quickstartDWRProblem.tgz
>
> Copied over the 'blank' example from the 2.2.2-RC1 version. Added DWR configured to access HomeAction. Ran QuickStart. When I access http://127.0.0.1:8080/blank/dwr I get errors reported to command line stating that the HomeAction class can not be found. I will attach to the report the minimal code that allows for reproduction of this error.

-- 
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