I have a page which is divided into two parts. There is a form in the upper
part and there is another in the lower part.
The upper form is for inserting and updating data into a database.
The lower form contains a list of previously inserted records into database,
where you can delete them via checkboxes and modify them by clicking on a
button. When you click on one of these "Modify" buttons the related
parameters have to appear in the upper form.
These forms are DynaValidatorForms and I have a DispatchAction which handles
the submitted form data.
I also want to use struts' validation function because I have a few fields
which are required.
The problem is the following, when I want to modify a record, I click on a
button which has only one parameter (id). With help of this id I select the
related record from db and all the values of the record have to appear in
the upper form's fields.
But the lack of required fields, it wont work.
I tried to use different ActionForms, but it couldn't help.
How can I solve the problem?
I want to use the same Action servlet for inserting, selecting, updating and
deleting.
I have to reach all these functions from one page.

Thanks,
Attila




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

Reply via email to