History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: BPM-302
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Wouter Zoons
Reporter: Christof Schoell
Votes: (View)
Watchers: (View)
Operations

If you were logged in you would be able to see more operations.
Bpm4Struts Cartridge

with multi-valued @andromda.presentation.web.view.field.validators only first validator generated

Created: 17/Dec/07 11:29 AM   Updated: 17/Dec/07 11:29 AM
Component/s: None
Affects Version/s: 3.2
Fix Version/s: None

Environment: Magic Draw 14.0
AndroMDA 3.2


 Description   
When adding multiple validators to the @andromda.presentation.web.view.field.validators (via + in MagicDraw) only the first validator is actually generated.

The Model XML contains:

<presentation:FrontEndField xmi:id='_14_0_ece034e_1197472085572_390522_2816' base_Parameter='_14_0_ece034e_1197472063029_112710_2810' _andromda_presentation_web_view_field_type='text' _andromda_presentation_view_field_required='true'>
<_andromda_presentation_web_view_field_validators>twofields(secondProperty=confirm_email)</_andromda_presentation_web_view_field_validators>
<_andromda_presentation_web_view_field_validators>email</_andromda_presentation_web_view_field_validators>
</presentation:FrontEndField>

And this is generated:

            <field property="email" depends="required,twofields">
                <arg position="0" key="person.bearbeiten.person.bearbeiten.speichern.param.email" />
                <arg position="1" name="twofields" key="confirm_email" resource="false"/>
                <var>
                    <var-name>secondProperty</var-name>
                    <var-value><![CDATA[confirm_email]]></var-value>
                </var>
            </field>

(email as validator is missing)

 All   Comments   Change History      Sort Order:
There are no comments yet on this issue.