Hello,
i've some trouble with the generated struts components - the server side
validation doesnt work. I've disabled JavaScript and now if i submit a
formular (eg. with empty fields) the struts validationframework should
call the inputpage again with a message ({0} is required) but it loads
the next forward.
I think that there is a bug in the StrutsAction.vsl. AndroMDA generate a
BaseFormBean for every UseCase an extends this BaseFormBean for every
UserActivity (or Transition) but in the generated struts-config.xml it
uses as name the name of the BaseFormBean (generatet from the
XDoclettags) but in the validation.xml the formsetentry is the name of
the correct formBean.
For me i've changed the StrutsAction.vsl:
* @struts.action
* path="$class.actionPath"
#if ($class.useCaseStart == true)
* name="$class.actionName"
#else
* name="$class.formBeanName"
#end
and it works fine - but i'm not sure if there are more changes or other
changes necessary or better.
Gru�
Dirk
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user