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=33211>. 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=33211 Summary: Expression Language in <html:option> Product: Struts Version: 1.1 Final Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Custom Tags AssignedTo: dev@struts.apache.org ReportedBy: [EMAIL PROTECTED] The Value attribute of <html:option> does not support Expression Language. this is a example: I what a combobox of the last 10 year (1995, 1996.. 2005) //act-year is the current year. <html:select property="years"> <c:forEach var="year" begin="${act_year-10}" end="${act_year}"> <html:option value='<c:out value="${year}"/>'> <c:out value='${year}'/> </html:option> </c:forEach> </html:select> the value of attribute Value becomes:<c:out value="${year}"/> and not the value of variable year of forEach. I also tryed <html:option value="${year}"/> but does't work also. The combobox shows all the values expected but anyone is marked as selected becose the value of property Years in html:select cannot be compared with the Value attribute of <html:option>. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]