Copy link ignore select-box values
----------------------------------

         Key: BPM-184
         URL: http://jira.andromda.org/browse/BPM-184
     Project: Bpm4Struts Cartridge
        Type: Bug
  Components: CRUD  
    Versions: 3.0 Final    
    Reporter: Leif Johansson
 Assigned to: Wouter Zoons 
    Priority: Critical


When a model contains an Enumeration a select-box is rendered (as it should be) 
but the
values in the select-box are not updated when you click on 'Copy'. My 
Enumeration actually
contains 'null' as one of the values.

This is what the selectbox looks loke:

<select name="parentSeparator"><option value="">-- Select --</option>
                                    <option value="/" 
selected="selected">slash</option>
                                    <option value=".">dot</option>
                                    <option value=":">colon</option>
                                    <option value="#">hash</option>
                                    <option value="null">none</option></select>

This is what the 'Copy link looks like':

<a href="#" 
onclick="document.forms['manageNameForm'].elements['name'].value='http://resource.su.se/';document.forms['manageNameForm'].elements['leaf'].checked=false;document.forms['manageNameForm'].elements['description'].value='';document.forms['manageNameForm'].elements['contact'].value='[EMAIL
 
PROTECTED]';document.forms['manageNameForm'].elements['parentSeparator'].value='/';document.forms['manageNameForm'].elements['uri'].value='http://resource.su.se';document.forms['manageNameForm'].elements['id'].value='1';return
 false;">Copy</a>
                                <input type="checkbox" name="selectedRows" 
value="1"/>

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to