Yeah..but is the feedback message invoked before adding the feedback into the target?
** Martin 2009/12/4 John Armstrong <[email protected]>: > When I click next in the wizard and have not selected an item from the > RadioGroup. > > J > > On Fri, Dec 4, 2009 at 7:26 AM, Martin Makundi > <[email protected]> wrote: >> When does the error occur? >> >> ** >> Martin >> >> 2009/12/4 John Armstrong <[email protected]>: >>> Still working on this darn sign-up form in my spare time. I currently >>> can not get feedback to show up. If I disable javascript it shows up >>> but using ajax it does not. >>> >>> In my WizardStep I have the code to add the feedback panel to the >>> target as a placeholder. (confirmed, its in the DOM hidden). Adding >>> feedback panel to a RadioGroup: >>> >>> === >>> private final class SelectPlan extends WizardStep implements >>> IDynamicWizardStep { >>> >>> group.setRequired(true); >>> final FeedbackPanel feedback = new FeedbackPanel("feedback"); >>> feedback.setOutputMarkupId(true); >>> feedback.setOutputMarkupPlaceholderTag(true); >>> if(target != null){ >>> target.addComponent(feedback); >>> } >>> group.add(feedback); >>> === >>> >>> But on submit I still get this in my dev log >>> WARN - WebSession - Component-targetted feedback >>> message was left unrendered. This could be because you are missing a >>> FeedbackPanel on the page. Message: [FeedbackMessage message = "Field >>> 'planselection' is required.", reporter = planselection, level = >>> ERROR] >>> >>> What simple thing am I missing? >>> >>> John- >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
