I used session scope because I want the form to remember or correctly
selected my value dropdown list.  But I don't know why all of the values
that I did not display as hidden field or text field are lost.

Thanks,
Hai

-----Original Message-----
From: Michelle Popovits [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 26, 2001 9:29 AM
To: [EMAIL PROTECTED]
Subject: RE: Design question - Action Form vs Business Delegates/Value
Obj ects


Is your form bean in session or request scope?
I always use session scope to ensure that existing data in vo's are not 
lost.

HTH,
Michelle


>From: "Hoang, Hai" <[EMAIL PROTECTED]>
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>CC: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: RE: Design question - Action Form vs Business Delegates/Value Obj

>ects
>Date: Mon, 26 Nov 2001 10:26:38 -0500
>
>Michelle,
>
>You wrote
>
> >> You're probably right. So far I have only used it for Strings and 
>numbers
>for which no special mapping was required. In this case it was simple to
>implement.
>I've tred and it works for Long datatype.  Have you try for int or long?
>What about editing a record? if you don't specify a hidden field for the
>primary key such as <html:hidden property="address.addressId" /> the pk
>value in the value object resets to null.  Do you experience this problem?
>Thank you for your help
>Hai
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

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

Reply via email to