Hi, Thanks for your reply.
I am using 3.0M3-SNAPSHOT version (Circa October-2004) so I guess I am on my own. I am planning an upgrade to the stable 3.0M3, but not immediately. How come I do not see this file in CVS: org.andromda.cartridges.bpm4struts.metafacades.StrutsParameterLogic.java? I can see the StrutsParameterLogicImpl.java file though! Can you please give me the WEBCVS url for this file? Regards, Kishore -----Original Message----- From: Wouter Zoons [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 18, 2005 2:22 PM To: Kishore Thalari; [email protected] Subject: RE: [Andromda-user] multi-valued @andromda.struts.view.field.format Hi, Bpm4struts is no longer dependent on Xdoclet, the validation descriptors are generated directly from the model I have no idea where you got those xdoclet annotations from but it is *impossible* they have been generated using andromda 3.0M3 (of which you clearly imported the profile) -- Wouter > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:andromda-user- > [EMAIL PROTECTED] On Behalf Of Kishore Thalari > Sent: Tuesday, January 18, 2005 7:18 AM > To: [email protected] > Subject: [Andromda-user] multi-valued @andromda.struts.view.field.format > > Hi All, > > I am not able to generate multiple formbean attribute validation xdoclet > tags using bpm4struts tag @andromda.struts.view.field.format. For example, > I want to generate the following xdoclet code for my formbean: > > /** > * @struts.validator > * type="required" > * > * @struts.validator > * type="maxlength" > * arg1value="${var:maxlength}" > * > * @struts.validator-var > * name="maxlength" > * value="15" > * > * @struts.validator > * type="minlength" > * arg1value="${var:minlength}" > * > * @struts.validator-var > * name="minlength" > * value="6" > * > * > * @struts.validator > * type="mask" > * > * @struts.validator-var > * name="mask" > * value="^([a-zA-Z]+)(\d+)([a-zA-Z]+)|([a-zA- > Z]+)(\d+)|(\d+)([a-zA-Z]+)$" > * > * @struts.validator-args > * arg0resource="test.usecase.registration.reg.info.password" > * > */ > > bpm4struts is picking up only one value for the tag > @andromda.struts.view.field.format. The following UML code is not > generating multiple @struts.validator Xdoclet tags as expected. > > <UML:TaggedValue xmi.id='_24400562_1105961010064_38210_108' > name='@andromda.struts.view.field.format'> > <UML:TaggedValue.dataValue>minlength 4</UML:TaggedValue.dataValue> > <UML:TaggedValue.dataValue>maxlength 20</UML:TaggedValue.dataValue> > <UML:TaggedValue.dataValue>pattern ^([a-zA-Z]+)(\d+)([a-zA-Z]+)|([a-zA- > Z]+)(\d+)|(\d+)([a-zA-Z]+)$</UML:TaggedValue.dataValue> > <UML:TaggedValue.type> > <UML:TagDefinition href='andromda-profile-3.0M3- > SNAPSHOT.xml.zip|_8a70287_1079894132728_865469_25'> > <XMI.extension xmi.extender='MagicDraw UML 8.0' > xmi.extenderID='MagicDraw UML 8.0'> > <referentPath > xmi.value='org.andromda.profile::presentation::@andromda.struts.view.field > .format'/> > </XMI.extension> > </UML:TagDefinition> > </UML:TaggedValue.type> > </UML:TaggedValue> > > bpm4strus generated code (minlength and mask validator types are missing): > > /** > * @struts.validator > * type="required" > * > * @struts.validator > * type="maxlength" > * arg1value="${var:maxlength}" > * > * @struts.validator-var > * name="maxlength" > * value="20" > * > * @struts.validator-args > * arg0resource="test.usecase.registration.reg.info.password" > * > */ > > thanks, > kishore > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Andromda-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/andromda-user ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user
