pls see ojb sample. employee.js. use bean to store data use dao to copy data between beans
johnson
----- Original Message ----- From: "Alex Romayev" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, February 28, 2005 12:55 AM
Subject: Re: [cforms] Partial Binding
If I understand you correctly, then I'd need to look through the "form" beans, match them with the actual beans and the the values. Sort of defeats the purpose of using the binding in the first place?
On Feb 27, 2005, at 11:41 AM, Johnson wrote:
create two beans,one for form,one for backup old value
johnson
----- Original Message ----- From: "Alex Romayev" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Sunday, February 27, 2005 11:53 PM Subject: [cforms] Partial Binding
I have a collection of objects which I want to edit using a repeater. The object which the repeater binds to has about 15 fields out of which I only need to display 2 and edit only one. The problem is that if I only specify bindings for the 2 field I need, the rest of the 13 would all get cleared when the form is saved back to the bean.
Is there a way to avoid specifying bindings for all the fields and not have them overwritten during the save?
Thanks,
-Alex
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
