|
I set up an ActionForm with a lot of properties, inherited from: ActionForm-BaseForm (Custom) -OperateActionForm (Custom) -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.
So originally should be browse.do-modify.do-report.do, now it becomes, as long as you submit in browse.do, it will automatically execute to report.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. |
|