struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From StoicxPhilia Nguyen <stoic...@yahoo.com>
Subject Having multiple properties displayed in the same dropdown list???
Date Mon, 09 Sep 2002 21:54:23 GMT

Hi,

If I have a bean A ( in session) which contains 2 collections of properties, propA and propB,
is there a trick that I can have them displayed in the same dropdown list with a separator,
say "--"?

The way I have it implemented for a single property with dropdown list is as followed:

<html:select property="propA" >
   <html:option value="">----<</html:option>
   <html:options collection="<%=com.mydomain.PROPA_LIST%>" property="propA"  />
  </html:select>

Thanks,

V.



---------------------------------
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message