-
Sep 25th, 2004, 04:59 AM
#1
MultiActionController setBindOnNewForm(true);
Hi All,
How can i set a blank form for create mode having a save and cancel buttons, a data populated form in the edit mode having an update and cancel buttons and again data populated form in the delete mode having an delete and cancel buttons.
I want to achieve this using a single class which extends from MultiActionController and If I use a single MultiActionController class where do I call setBindOnNewForm(true). I cannot call it (setBindOnNewForm(true)) if I am going for a new entry.
I am speaking something related to Struts DispatchAction Class. In the petstore application there are seperate classes for Save and Edit Operations and I dont want to follow that model.
suggestions invited.....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules