You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Leon King <le...@mci.com> on 2003/10/29 19:42:47 UTC

Pre-populating html:select from request object

I'm trying to pass data between different struts forms.  Below I've tried to
pre-populate a select statement from data stored in the request but I get a
compilation error (" Attribute outageEndDateFromMonth has no value " ).

<html:select property="outageEndDateFromMonth" value="<%=
request.getAttribute("outageEndDateFromMonth") %>" >
        <html:options collection="monthList" property="value"
labelProperty="label" />
</html:select>


Any suggestions on how this can be achieved?

Thanks

Leon


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