You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2004/04/13 23:25:55 UTC

DO NOT REPLY [Bug 28368] New: - empty html:select body picks up from prior html:select

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=28368

empty html:select body picks up from prior html:select

           Summary: empty html:select body picks up from prior html:select
           Product: Struts
           Version: 1.1 Final
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Custom Tags
        AssignedTo: dev@struts.apache.org
        ReportedBy: edgar@blue-moose.net


If you write

    <html:select property='myProp' />

and you have other <html:select> tags on the page, the body of the prior tag 
will be emitted in place of the empty tag.

The use case is if you are using javascript to fill the select body.  The work 
around is

    <html:select property='myProp> </select>

Edgar

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org