Hi Ian,

sure, I am doing it, but unfortunately the default templates were written for Struts 1.0

  • the action classes use the deprecate perform method (instead of execute), also
  • in the body they use 'empty()' instead of 'isEmpty()' on the ActionErrors
  • furthermore you would need to update the template for the struts config since the DOCTYPE directive points to the 1.0 DTD
  • the struts-config also need an element 'message-resources' it is actually not used yet by struts 1.1, but it is recommended to put it there
I attached the action and config templates to this mail, check them out and see if they fit your needs
it might be the generated code will not compile yet because of a FormFieldMapper class or something, this is a small thing to resolve so I will not comment on that

good luck

wouter.

ps: FYI the attached file is in fact a .jar not a .zip (in case you would into trouble with that)

Ian Bamsey wrote:
Can I use Struts 1.1 with Andromda?

Ian



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Attachment: struts-templates.zip
Description: Zip archive

Reply via email to