Re: create new model object of a Form from one of its FormComp values??

2008-01-25 Thread infodoc
[offline conversation returned to thread] Igor, I understand about using the AccountBean. That is not where the problem lies. Problem: how to update encapsulated field(s) of the Account object from the AccountBean??? See details below. Account does NOT have set methods for these fields, so I

Re: create new model object of a Form from one of its FormComp values??

2008-01-22 Thread infodoc
Appreciate your help. I tried to create a bean and use a copy ctor as Eelco suggested. Expect that would work well. I ran into problems with that because of some read-only fields of superclasses of Account necessitated by my design. Therefore, a copy ctor was not possible without breaking enc

Re: create new model object of a Form from one of its FormComp values??

2008-01-21 Thread infodoc
Thanks to everyone for their comments Igor, Assuming I use a bean, could you please give me a bit more detail on your suggestion? I want the model object of the editor Form to be the newly-created Account, so that other objects can simply call getModelObject() on the editor like normal and

create new model object of a Form from one of its FormComp values??

2008-01-20 Thread infodoc
Hello All, Have tried to search for this in the forums, but am not having much success due to the multiple concepts involved. I apologize in advance for the long post. Question: is there a way to, after a Form has been submitted, create a new model object for that Form, based upon a value of a