Thanks, James.


From: "James Mitchell" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: Re: what the wrong withis?
Date: Tue, 27 May 2003 16:29:18 -0400

#1 - You didn't close your nested tag properly.
#2 - Second, you can't nest tags.


Try this instead:


<bean:define id="gender">
  <bean:write name="header" property="gender"/>
</bean:define>

<html:select property="fosCode" value="<%=gender%>"
<html:options
     collection="FIELD_OF_STUDY_CODES"
       property="code"
  labelProperty="description" />
</html:select>



--
James Mitchell
Software Developer/Struts Evangelist
http://www.struts-atlanta.org



----- Original Message -----
From: "Anand M S" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 27, 2003 4:22 PM
Subject: what the wrong withis?


> waht the wrong with following code, it doesn't work. > can't we use <bean:write> inside any other struts tag? > > <html:select property="fosCode" value="<bean:write name="header" > property="gender"/>" > <html:options collection="FIELD_OF_STUDY_CODES" property="code" > labelProperty="description" /> > </html:select> > > _________________________________________________________________ > MSN 8 with e-mail virus protection service: 2 months FREE* > http://join.msn.com/?page=features/virus > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED]


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


_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail



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



Reply via email to