Ticket #2351 (closed defect: fixed)
passfunction of wizard pane is called for both buttons next and previous
| Reported by: | achim.hoeffmann@… | Owned by: | dante |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Dojox | Version: | 0.4.1 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
see the following thread on gmane.comp.web.dojo.user http://comments.gmane.org/gmane.comp.web.dojo.user/23506
Re: How to determine in which direction a wizard pane is left From: Karl Tiedt <ktiedt <at> gmail.com> Subject: Re: How to determine in which direction a wizard pane is left Newsgroups: gmane.comp.web.dojo.user Date: 2007-01-16 07:14:25 GMT
If your validation is fring everytime (back and forwards...) I would have to say its a bug based on this text:
_checkPass: function() {
// summary: // Called when the user presses the "next" button. // Calls passFunction to see if it's OK to advance to next panel, and // if it isn't, then display error. // Returns true to advance, false to not advance.
If thats the case, you should file a bug at http://trac.dojotoolkit.org
-Karl
On 1/14/07, Achim Höffmann <achim.hoeffmann <at> online.de> wrote:
the passfunction of a wizard pane is called for both the next and the previous button. Typically, only for the next button some kind of processing (validation, ...) is necessary. So, I'm looking for something like ... if (<wizard's pane next button is clicked> ) ... to extend my passfunctions.