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

         Key: BPM-302
         URL: http://jira.andromda.org/browse/BPM-302
     Project: Bpm4Struts Cartridge
        Type: Bug

    Versions: 3.2    
 Environment: Magic Draw 14.0
AndroMDA 3.2
    Reporter: Christof Schoell
 Assigned to: Wouter Zoons 


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)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.andromda.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

Reply via email to