
| Key: |
STR-2927
|
| Type: |
Bug
|
| Status: |
Closed
|
| Resolution: |
Not A Problem
|
| Priority: |
Critical
|
| Assignee: |
Unassigned
|
| Reporter: |
Sreedhar Mada
|
| Votes: |
0
|
| Watchers: |
1
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
Environment:
|
Windows XP professional
|
|
|
I'm using nested:select tag in my application to hold multiple values. Here is the HTML for my element.
<select name="testBox" multiple="multiple" size="3" ><option value="1">ABC</option>
<option value="3" selected="selected">DEF</option>
<option value="4">GHI</option>
<option value="6" selected="selected">JKL</option>
<option value="9">MNO</option>
<option value="44" selected="selected">PQR</option>
<option value="66" selected="selected">STU</option>
<option value="08" selected="selected">VWX</option>
<option value="11" selected="selected">YZA</option>
<option value="21111">BCDE</option>
<option value="1111">FFFFF</option>
<option value="0000">RGEV</option>
<option value="209">TQPN</option>
<option value="102">MTR</option>
</select>
This element represents the data I previously saved in the database. If I re-visit the application and deselect all the options selected in this box, it is not reflecting to show empty list. I'm using a string array in my form bean to hold these values.
Once all the values are deselected, the String array should be empty or null. But it is still holding the previous set of values.
Instead of deselecting all the options, If I do any other action(selecting other values or deselecting one or more by keeping atleast one value selected) it works fine.
|
|
Description
|
I'm using nested:select tag in my application to hold multiple values. Here is the HTML for my element.
<select name="testBox" multiple="multiple" size="3" ><option value="1">ABC</option>
<option value="3" selected="selected">DEF</option>
<option value="4">GHI</option>
<option value="6" selected="selected">JKL</option>
<option value="9">MNO</option>
<option value="44" selected="selected">PQR</option>
<option value="66" selected="selected">STU</option>
<option value="08" selected="selected">VWX</option>
<option value="11" selected="selected">YZA</option>
<option value="21111">BCDE</option>
<option value="1111">FFFFF</option>
<option value="0000">RGEV</option>
<option value="209">TQPN</option>
<option value="102">MTR</option>
</select>
This element represents the data I previously saved in the database. If I re-visit the application and deselect all the options selected in this box, it is not reflecting to show empty list. I'm using a string array in my form bean to hold these values.
Once all the values are deselected, the String array should be empty or null. But it is still holding the previous set of values.
Instead of deselecting all the options, If I do any other action(selecting other values or deselecting one or more by keeping atleast one value selected) it works fine. |
Show » |
made changes - 28/Nov/06 06:40 PM
| Field |
Original Value |
New Value |
|
Status
|
Open
[ 1
]
|
Resolved
[ 5
]
|
|
Resolution
|
|
Not A Problem
[ 7
]
|
made changes - 04/Jul/07 05:31 AM
|
Status
|
Resolved
[ 5
]
|
Closed
[ 6
]
|
|