multi-valued andromda.struts.view.field.format

Description

When I specify multiple values (like minlength, maxlength, pattern, etc.) for andromda.struts.view.field.format, bpm4struts (3.0M3) is generating validation for only one of the format values.

validation.xml generated:
<form name="signupSignUpSaveForm">
<field property="username" depends="maxlength">
<arg0 key="signup.sign.up.param.username" />
<arg1 name="maxlength" key="${var:maxlength}" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>10</var-value>
</var>
</field>
</form>

Following is the relevant UML (note the minlength, maxlength,etc. formats mentioned )
<UMLarameter xmi.id='_e3e0334_1109181214167_831575_207' name='username'>
<UMLarameter.type>
<UML:Classifier href='andromda-profile-3.0M3.xml.zip|_24400562_1076994099335_876795_42'>
<XMI.extension xmi.extender='MagicDraw UML 8.0' xmi.extenderID='MagicDraw UML 8.0'>
<referentPath xmi.value='datatype::String'/>
</XMI.extension>
</UML:Classifier>
</UMLarameter.type>
<UML:ModelElement.taggedValue>
<UML:TaggedValue xmi.id='_e3e0334_1109181212765_479650_206' name='@andromda.struts.view.field.type'>
<UML:TaggedValue.dataValue>text</UML:TaggedValue.dataValue>
<UML:TaggedValue.type>
<UML:TagDefinition href='andromda-profile-3.0M3.xml.zip|_ecb034c_1085693728771_155851_74'>
<XMI.extension xmi.extender='MagicDraw UML 8.0' xmi.extenderID='MagicDraw UML 8.0'>
<referentPath xmi.value='org.andromda.profile:resentation::@andromda.struts.view.field.type'/>
</XMI.extension>
</UML:TagDefinition>
</UML:TaggedValue.type>
</UML:TaggedValue>
<UML:TaggedValue xmi.id='_e3e0334_1109186552573_6929_236' name='@andromda.struts.view.field.format'>
<UML:TaggedValue.dataValue>minlength 4</UML:TaggedValue.dataValue>
<UML:TaggedValue.dataValue>maxlength 10</UML:TaggedValue.dataValue>
<UML:TaggedValue.dataValue>pattern [a-z]*</UML:TaggedValue.dataValue>
<UML:TaggedValue.type>
<UML:TagDefinition href='andromda-profile-3.0M3.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:resentation::@andromda.struts.view.field.format'/>
</XMI.extension>
</UML:TagDefinition>
</UML:TaggedValue.type>
</UML:TaggedValue>

Environment

None

Status

Assignee

MichaelM

Reporter

Kishore

Labels

None

Fix versions

Affects versions

3.0-M3

Priority

Minor
Configure