struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Slattery, Tim - BLS" <>
Subject RE: optionsCollection ...
Date Wed, 25 Feb 2004 14:50:32 GMT
> Someone have one example of html:optionsCollection  with html:select.

<html-el:select property="domestic_Foreign">
   <html-el:optionsCollection property="domesticForeignList" 
	    value="code" label="value"/>

The FormBean contains a domestic_Foreign property (a string), and a
domesticForeignList property. That returns a collection of beans, each of
which has "code" and "value" properties.

Tim Slattery

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message