|
I created an ActionForm: ActionForm-BaseForm (customization, adding logging functions)-OperateActionForm (customization, adding public properties, clear, fill methods)-ModifyForm
Read the database object paper in the ModifyForm.reset method, and then assign each property of the paper to each corresponding property on the ModifyForm.
In the ModifyForm.Validate method, the validation property is not empty, then the validation passes. The problem now is that after I assign a value, ModifyForm will automatically run to ModifyAction.execute and submit automatically.
Program flow in the design: browse.do point submission-> modify.do point submission-> report.do
The actual program flow is automatically executed to report.do as long as it is submitted in browse.do. I don't know how to solve it?
Since the original code is quite long, it is inconvenient to post it, please help experts. |
|