Hi
Wouter and the others,
as
you can see from my "cartridge" emails, I am planning to make AndroMDA
significantly easier to extend, and: it almost works! The things you said would
perfectly fit into a new Struts cartridge and replace the old templates that
were more or less "demo" stuff.
I'll
get back to you when the cartridge mechanism works 100% and give you the info
how to create a Struts cartridge.
Would
that be OK for you?
Cheers...
Matthias
-----Original Message-----Hi Ian,
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wouter Zoons
Sent: Wednesday, April 02, 2003 4:19 PM
Cc: [EMAIL PROTECTED]
Subject: Re: [Andromda-user] Struts 1.1
sure, I am doing it, but unfortunately the default templates were written for Struts 1.0
I attached the action and config templates to this mail, check them out and see if they fit your needs
- 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
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
