DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18460>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18460

First select option is selected causes Internet Explorer form problems

           Summary: First select option is selected causes Internet Explorer
                    form problems
           Product: Struts
           Version: 1.1 RC1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Unknown
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Struts <html:select> ensures that if the first select option is selected, after 
the page has been submitted, on the next page the first option element of the 
select has a  'selected' attribute in the HTML - this causes Internet Explorer 
to assume the form has an error - this does not occur when any of the other 
options elements have the 'selected' attribute - thus meaning I cannot use any 
javascript because the form appears malformed.

I belive that if the first option is selected then struts is best off not 
putting a selected tag in at all, IE will default to the top element.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to