It works for me. What the tag does is to use the bean associated with the
html:form tag
which may or may not be a ActionForm. This bean must have a property for
both the
select tag and the options tag. Here's an example that generates a select
box of colors
with "yellow" selected.
<%@ page import="test.Widget" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%
Widget widget = new Widget();
widget.setColor("yellow");
//widget.getColorList() returns Vector {"red", "orange", "yellow"...}
request.setAttribute("widget", widget);
%>
<html:form name="widget" type="test.Widget" scope="request">
<html:select property="color">
<html:options property="colorList"/>
</html:select>
</html:form>