Bug in SelectManyPicklist with MSIE7
------------------------------------

                 Key: TOMAHAWK-1302
                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1302
             Project: MyFaces Tomahawk
          Issue Type: Bug
    Affects Versions: 1.1.7-SNAPSHOT
         Environment: MSIE7
            Reporter: Gertjan van Oosten
         Attachments: tomahawk-picklist-msie7-bug.png

There's a display bug with the SelectManyPicklist in MSIE7. The bug can be seen 
from the example page:

http://www.irian.at/myfaces-sandbox/picklist.jsf

See attached screenshot; the select box for the selected items does not get 
redrawn with the correct width.

The problem appears to be caused by moving the Option DOM node from the 
fromList to the toList (using node.appendChild()).
The attached patch solves this problem by making a new Option object, putting 
that in the toList and nulling out the old option in the fromList.
Patch has been tested successfully against MSIE6, MSIE7 and FF (both with and 
without Firebug enabled; no errors or warnings from FireBug).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to