RE: [MVC-Programmers] Action Redirection

2002-08-20 Thread Christian Burger
Don't you have a submit button in your form? I think so ... As the submit button has a property name just simply check for that request parameter ... if you get a null the form was not submitted to reach that action ... The real question is: do you really need an action class to display the page

RE: [MVC-Programmers] Action Redirection

2002-08-20 Thread lindsay . hamoudi
I tend to use the same Action class for doing any preprocessing prior to displaying the form (e.g. for populating any beans used by the form) and also for processing the form input. I distinguish between a fresh request to display the form and a form submission, by putting a hidden field in the fo