cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Romayev <roma...@yahoo.com>
Subject Re: [cforms] Partial Binding
Date Sun, 27 Feb 2005 18:19:27 GMT
Ok, I see what you're saying.  Thanks.

On Feb 27, 2005, at 12:18 PM, Johnson wrote:

> pls see ojb sample. employee.js.
> use bean to store data
> use dao to copy data between beans
>
> johnson
>
> ----- Original Message ----- From: "Alex Romayev" <romayev@yahoo.com>
> To: <users@cocoon.apache.org>
> 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" <romayev@yahoo.com>
>>> To: <users@cocoon.apache.org>
>>> 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: users-unsubscribe@cocoon.apache.org
>>>> For additional commands, e-mail: users-help@cocoon.apache.org
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>> For additional commands, e-mail: users-help@cocoon.apache.org
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message