See below...

> -----Original Message-----
> From: boxed [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, July 02, 2003 3:59 PM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] WW2 migration
> 
> 
> I have tried migrating my quite large app to WW2, these are 
> my issues with
> it:
> 
> http://wiki.opensymphony.com/space/WebWork+2+Migration+Guide 
> specifies that:
> >ActionSupport has moved from webwork.ActionSupport to
> com.opensymphony.xwork.ActionSupport,
> > but a deprecated webwork.ActionSupport and webwork.Action have been 
> > added
> to ease migration.
> Those classes do not exist. I have attached my 
> implementations of them and a few other migration classes I needed.

These were added by Patrick a while back, and it was decided to remove them, rather 
than carry over old stuff. It's suggested that you extend from 
com.opensymphony.xwork.ActionSupport instead, possibly having a parent class for your 
actions which provides the calls to doExecute, etc.

> 
> You have to do:
> s/protected String doExecute/public String doExecute/
> in all your actions since I cannot override this in a 
> migration class to have a more restrictive
> 
> I have not written migration for:
> webwork.action.CommandDriven
> webwork.action.Action
> 
> com.opensymphony.webwork.ServletActionContext needs its 
> constructor public
> 
> As for the docs: There was a lot of hype of how in XW/WW2 
> documentation would be better. There isn't even an 
> installation doc! At least a list of what files are needed 
> (jars, xml-files, templates, etc) and where to put them would 
> be appreciated.

Hmm.. Add a Jira issue for this.

> 
> I am currently at the state of needing to convert my 
> views.properties+webwork.properties files into xwork.xml to 
> map my actions. This should probably be simple to write a 
> little program to do.

Webwork.properties should carry over directly, I think.

> 
> I have only added ParameterAware and SessionAware as empty 
> interfaces for now to get it to compile, but I've understood 
> it's supposed to be simple to do with interceptors.
> 
> Anders Hovmöller
> [EMAIL PROTECTED]

Those should be easy to implement in custom interceptors... I don't think there's any 
plans to add them back in right now, though.

Maybe we could create a separate project for classes to help with the migration. 

Jason


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to