Populate options with integers

2003-03-31 Thread Dhruva B. Reddy
Hi,

I'm trying to populate a drop down list with integers.  Basically, I 
want the following to be generated:

select
  option value=11/option
  option value=22/option
  option value=33/option
  option value=44/option
/select
Is there an easy way to do this?  I can't seem to find anything in the 
documentation or on Google.

Thanks,
Dhruva
--
Dhruva B. Reddy
ResortQuest International, Inc.
phone:  +1 303 604 4893
aim:dhruvarqi
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Populate options with integers

2003-03-31 Thread Dan Tran
Take alook at Struts-example.war in the distribution
It uses html:select/html:options and LabelValueBean
to do what you need.

-Dan

- Original Message - 
From: Dhruva B. Reddy [EMAIL PROTECTED]
To: Struts User Mailing List [EMAIL PROTECTED]
Sent: Monday, March 31, 2003 9:43 AM
Subject: Populate options with integers


 Hi,
 
 I'm trying to populate a drop down list with integers.  Basically, I 
 want the following to be generated:
 
 select
  option value=11/option
  option value=22/option
  option value=33/option
  option value=44/option
 /select
 
 Is there an easy way to do this?  I can't seem to find anything in the 
 documentation or on Google.
 
 Thanks,
 Dhruva
 -- 
 Dhruva B. Reddy
 ResortQuest International, Inc.
 phone:  +1 303 604 4893
 aim:dhruvarqi
 
 
 -
 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]