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

Key: BPM-184
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Wouter Zoons
Reporter: Leif Johansson
Votes: (View)
Watchers: (View)
Operations

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

Copy link ignore select-box values

Created: 03/May/05 01:30 PM   Updated: 10/May/05 01:10 AM
Component/s: CRUD
Affects Version/s: 3.0 Final
Fix Version/s: 3.0.1


 Description   
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='leifj@it.su.se';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"/>

 All   Comments   Change History      Sort Order:
Comment by Wouter Zoons [03/May/05 04:42 PM]
this problem seems to happen on more exotic browsers such as Konqueror

Comment by Leif Johansson [03/May/05 08:03 PM]
Correct - I am using konqueror. It should be a problem with Safari
too if it is konqueror-specific since Safari (MacOS 10 standard
browser) is based on the same HTML rendering component as konqueror.

Comment by Wouter Zoons [10/May/05 01:10 AM]
this issue was related to a DHTML feature that is not support by Konqueror, I have updated the corresponding Javascript to make it work on all browsers

FYI: Konqueror does not allow myCombobox.value='someOptionValue', instead you need to do myCombobox.options.selectedIndex=someIndex