I wish to implement my S2 Action classes implementing ModelDriven with onLoad() and onSubmit() methods that replaces the default execute() method.
When the user first views a page, onLoad() is called. If the user submits the form, onSubmit() is called. My idea is to create an Interface with these 2 methods, and implement them in my action classes. However, I have currently no idea how to call onLoad() or onSubmit() instead of the default execute(). Should I call the onLoad() or onSubmit() method via an Interceptor(tried but couldn't work)? Or are there interceptors that does the same thing? -- View this message in context: http://www.nabble.com/-S2-Actions-with-onLoad%28%29-and-onSubmit%28%29-instead-of-execute%28%29-tf4529429.html#a12924800 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]