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 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 then to verify
what value it is retrieving.  It's possible the form bean is just
in request scope, which would mean the form bean used to set the
value at submit time would be a different object from the bean
used to populate the form.

-----Original Message-----
From: Jain, Vikas [mailto:[EMAIL PROTECTED]]

I am having trouble in displaying default or previous stored
value  while using the following:

<html:select property="noticeStatus">
 <html:options collection="someList"
labelProperty="noticeStatusStrKey"
property="noticeStatusStrValue"/> </html:select>


Value is selected and set properly but next time it does not
show  the previous stored value. ??
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]> For additional
commands, e-mail: <mailto:[EMAIL PROTECTED]>



---------------------------------------
Jain, Vikas
Vanderbilt University
Email: [EMAIL PROTECTED]

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

Reply via email to