I have an issue where I am trying to have an HTML page re-running a query
over and over again. The first time the page comes up, I want to pre-set all
of the select fields. I am having a problem, where the first time, all of
them get set except for one.  See the following code for example:

In this case, the "months property" fills up with the correct data that I
pull from the Form.  But, the "rptParams.startMonth" does not. NOTE, this
only happens the first time, Each subsequent time, both fields fill up
correctly.  Fyi, this RptParams object gets pre-filled with data in the Form
class constructor.   Any help would be much appreciated.

<html:select property="rptParams.startMonth" size="1" >
   <html:options property="months" labelProperty="months"/>
 </html:select>

Here is the Action Class Code:  (this code runs every time regardless of
first time or subsequent times)

Again, every fields seems to pre-set except for RptParams fields. 
PendingCircuitsForm pcForm = (PendingCircuitsForm) form;

   // Retreive and Set all Report Paramaters
   pcForm.setMonths(ReportsUtil.getMonthList());
   pcForm.setRptParams(pcForm.getRptParams());

  String startDate = pcForm.getRptParams().getStartMonth();
   System.out.println("startDate is " + startDate);   *** THIS PRINTS OUT
FINE PROVING THAT THE DATA EXISTS BEFORE FORWARDING TO JSP

   request.getSession().setAttribute("pendingCircuitsForm", pcForm);

Thanks!!

Reply via email to