[Opensource] workflow using addStatePairing - not quite getti ng it
BSC
bsci at lycos.com
Thu Nov 21 10:51:43 PST 2002
Mike,
I don't use DefaultForm in my applications. For the most part, I define a class that extends the ControllerForm. This class contains the getter/setter methods (which are not limited to String types) and an overriden controllerReset() method. My addStatePairing() will then leave the third parameter blank so that all states in the controller use this same class to persist the screen data. The ControllerForm is basically just a Struts ActionForm and so the object will persist between screens as long as your Struts config file defines it that way.
I am writing this without the benefit of the code in front of me so hopefully I have the class/method names right.
---
Aime
_____________________________________________________________
Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus
More information about the Opensource
mailing list