struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Affan Qureshi" <quere...@etilize.com>
Subject Re: <html:Select question
Date Thu, 10 Apr 2003 05:25:22 GMT
Two problems:

1. you cannot use a tag as a value for another attribute, so <bean:message>
tag needs to go away, use a <%=  %> for the attribute value.

2. <html:option > tag is not closed properly.

Affan

> I am new to struts and I want to know what is the problem in using the
following statment:
>

> <html:select property="personId">
>         <html:option value="<bean:message key='User.personId'/>">
>         </html>
>         <html:option value="value_2"/>
>         <html:option value="value_3"/>
>      </html:select>
>
> I am getting a jsp.error.attribute.noequal'  error ,
>
> thanks
>
>


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


Mime
View raw message