Hi Dave,

  We are having following combo box in .jsp page

  <s:select  id="request_complaint_type" headerKey="" headerValue="-- Please 
Select --"
           list="#{'I':'Initiatives ',  'C':'Complaints ', '1088_comp':'1088 
Complaints ',                                        '2000_comp':'2000 
Complaints ', 'cases':'Cases'}"      key="request_complaint_type" 
cssClass="required" />

  When form is submitted we are calling a method in Action class. In that 
method we are having following line

logger.info("Inside form type method request_complaint_type: 
"+request_complaint_type );

  This value(request_complaint_type) we are getting null. As you see combo box 
it is declared "required" field so JQuery will throw error if user tries 
without selecting value. This functionality is working fine but only for idle 
time I got this error.

Thanks,
Sharath.
   


--- On Fri, 4/27/12, Dave Newton <davelnew...@gmail.com> wrote:

From: Dave Newton <davelnew...@gmail.com>
Subject: Re: Parameter value set to null when page submitted after 30 minutes.
To: "Struts Users Mailing List" <user@struts.apache.org>
Cc: karna...@yahoo.com
Date: Friday, April 27, 2012, 3:43 PM

On Fri, Apr 27, 2012 at 12:11 PM, sharath karnati wrote:

>   In Action when we are printing parameter value it is showing null. I
> never heard is there any parameter timeout?? why we are getting value null
> for these parameters??
>

What parameters?

Is there any JavaScript on the page? Is there anything relating to the
session contained in the form?

Dave

Reply via email to