Results 1 to 3 of 3

Thread: AbstractWizard.setForcePreviousAndNextButtons

  1. #1
    Join Date
    Aug 2004
    Location
    Northridge, CA
    Posts
    151

    Default AbstractWizard.setForcePreviousAndNextButtons

    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.

    Amad

  2. #2
    Join Date
    Aug 2004
    Location
    Melbourne, FL
    Posts
    2,794

    Default

    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...
    Keith Donald
    Core Spring Development Team

  3. #3
    Join Date
    Aug 2004
    Location
    Northridge, CA
    Posts
    151

    Default

    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.


    Amad

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •