I have a form which needs to display several dropdown combo boxes, one in
particular is to be populated with values as follows:

  Today
  Yesterday
  This Week
  Last Week
  This Month
  Last Month
  Last 3 Months
  This Year
  Last Year
  series of Month/Day/Year values
  All

I wanted to ask others opinion on which is the better approach to populating
this combo-box values?  I could use a taglib similar to the following:

  <ss:TransactionDateSelectBox name="transactionForm" property="date"/>

The above would do a bean lookup for transactionForm with property date and
output the necessary HTML select/option tags needed to show the form's
selection box.

Or my action which forwards to the JSP could populate a collection of
LabelValueBean objects and then the JSP could iterate over the collection
using html:options.

Anyone have any suggestion on which is a better approach long-term?  

Thanks
Chris

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

Reply via email to