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=17465>.
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=17465

html:select el tag does not work for preset value

           Summary: html:select el tag does not work for preset value
           Product: Struts
           Version: 1.1 RC1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Custom Tags
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


for the following usage;

<%@ taglib uri="http://jakarta.apache.org/struts/tags-html"; prefix="html" %>
...
<html:select property="filesubcategory" size= "1" value='<%=(String)
request.getAttribute("selectedSubcategory")%>'>
  <html:options collection="selectedSubcategories" property="value" 
labelProperty="label"/>
</html:select>

work correctly to highlight the value in the list corresponding to "value=xxx"
being selected.

When the same code is changed to use

<%@ taglib uri="http://jakarta.apache.org/struts/tags-html-el"; prefix="html" %>

The list remains unselected.


The example use a scriptlet so the same code runs in both regular and el 
version of HTML tags for comparison.

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

Reply via email to