Re: where does a form element get and put it's data

2003-07-02 Thread Sandeep Takhar
If the page is editable, then you should have the form as the "bean" in the list action. It is easier to think of the whole thing as layers of systems. For struts - the entity that we populate into and is auto-populated is the form. From here we can populate DTO's or a middle-tier object that ca

Re: where does a form element get and put it's data

2003-07-01 Thread Adam Hardy
Surely you have the same issue with selecting the correct option in the select box as you do with the radio buttons? If I understand correctly what you are saying, you are actually talking about 2 seperate datasets: the dataset that you are going to edit in the form, and the dataset that you us

where does a form element get and put it's data

2003-07-01 Thread Heather Buch
I know the Struts form bean raises a lot of discussion. Personally, form beans cause me a lot of confusion too, maybe not in the same way that they confuse others, but maybe so. I'll attempt to explain. I feel like it is not consistent whether a form bean is first used upon creating, or submitting