The setter and getter for the noticeStatus property on your form bean
are the key to this. The setter is used when you submit the form, and
the getter is used to populate the selected item. It would be useful to
set a breakpoint in your getter method, to first verify it is getting
there, and
You are right. But here is the confusing part,
When getters are called (getNoticeStatus()) on the form associated
with the page which has 'noticeStatus', they have null values. So,
on the page i use session object to get my values and display them.
While submitting the form the setters are
sorry, i said some wrong statements,
Form data is scraped using getters but when the page is displayed
next time, the getters have null values, so i gave to use session
values on the page to display them.
--On Monday, December 30, 2002 9:36 AM -0800 Karr, David
[EMAIL PROTECTED] wrote:
The
Developers List
Subject: RE: options collection problem
You are right. But here is the confusing part,
When getters are called (getNoticeStatus()) on the form associated
with the page which has 'noticeStatus', they have null values. So,
on the page i use session object to get my values
be there on the next request. Do you have the scope of the
action set to session or request?
-Original Message-
From: Jain, Vikas [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 30, 2002 10:36 AM
To: Struts Developers List
Subject: RE: options collection problem
You are right. But here