I really dont want to add more steps that the ones I already have. for the
case when step c is no longer valid I woild like the next button to be
disabled and the finish button to be enabled. Isn't there a method for
updating the button panel? 



Kent Tong wrote:
> 
> 
> lizz wrote:
>> 
>> I have three wizard steps A, B and C
>> In step B I have a drop down choice. Whether step c is valid or not
>> depends on the selection in the drop down choice in step B.
>> 
>> Everytime the user changes the selection in the drop down choice the
>> wizard must be updated (the evaluate method must be run) since for some
>> selections the next button will be disabled since step b is the last
>> step, while for other selections c is the last step and the next button
>> is enabled.
>> 
> 
> When I'd suggest you add an artificial step D as the final step saying
> "You're completed the whole process".
> This step is always enabled. Then no matter step C should be enabled or
> not, the user will always see
> a "Next" button.
> 
> Another option is try enabling wantOnSelectionChangedNotifications() to
> refresh the whole page.
> 

-- 
View this message in context: 
http://www.nabble.com/How-do-I-force-evaluate-in-a-Wizard-steps-condition-to-run--tf4545108.html#a12982889
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to