|
From: Trevor C. <pr...@se...> - 2003-11-04 18:14:25
|
The current wizard only works correctly with form submissions using: <input type="submit" ...> For various reasons, we normally use buttons, as in: <button type="submit" ...> The problem is that <input> only submits the 1 clicked button, <button> submits all the buttons, so you need a different way to check which button was clicked. I have modified the class adding the following 2 methods: protected boolean isFinish(HttpServletRequest request) protected boolean isCancel(HttpServletRequest request) which contain the current logic for determining the workflow. However, they can be overridden to allow customization beyond just the name of the parameters (for special cases such as mine :) ). This change does not affect any existing "out-of-the-box" functionality. If there are no objections, I will commit these changes tonight. Trevor |