You can override newFeedbackPanel method of wizard protected FeedbackPanel newFeedbackPanel(String id) { FeedbackPanel fp = super.newFeedbackPanel(id); fp.setVisible(false); return fp; }
-Matej On 8/30/07, ivana <[EMAIL PROTECTED]> wrote: > > > Is there a way to remove/turn off Wizard's own feedbackpanel? Because now > i > have two and i only want one.... > > I have an application that gets user input in a number of WizardSteps. > Each > wizardstep has its own feedbackpanel. > > This worked fine until i made the next-step-button the default button for > submitting. Now, if the input does not validate *and* the submit was done > by > pressing <enter> the wizard's own feedbackpanel is shown as well as our > own. > > If the next-step button is clicked, and the input does not validate, only > our own (styled) feedbackpanel shows the errormessages. > (But if a previous submit caused the second feedbackpanel to appear, it > will > still be there). > > As expected, the second feedbackpanel's messages are updated only on > <enter>. Meaning that if, say 1 of 2 errors is seen to, and the next-step > button is clicked, one feedbackpanel shows one error less while the other > still shows both. On <enter> both feedbackpanels are updated. > -- > View this message in context: > http://www.nabble.com/Wizards-FeedbackPanel-tf4352766.html#a12402952 > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >