View Full Version : AbstractWizard.setForcePreviousAndNextButtons
Sep 23rd, 2004, 12:38 PM
I have a wizard with one page to start with. Depending on user input I am adding more pages but I can't get Next and Back to become enabled? I have asked this question before about dynamic sequence of pages. And I am simply using addPage to insert pages. But just can't get it to work.
Also using setForcePreviousAndNextButton(true) so they show up but not enabled.
Sep 23rd, 2004, 02:00 PM
I see; likely there is no event being posted to the WizardContainer (dialog) that wizard pages have been added. Good point. We will simply just have to add support for this feature.
If you could force a update of the WizardDialog this may solve your problem. Try toggling the "pageComplete" property of your first page; that should trigger a update of the next/back buttons. Worth a shot in the short term...
Sep 23rd, 2004, 02:35 PM
Thanks, I will do that. Also if we can make this dynamic wizard stuff part of framework, as I mentioned in Jwizz type of API. So implementation will be little more consistent.
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.