does your button also properly implement onerror() ?

-igor

On Fri, Dec 4, 2009 at 11:35 AM, John Armstrong <siber...@siberian.org> wrote:
> The button itself lives in my ButtonBar class and the buttons
> themselves are extensions of AjaxFallbackButtons
>
> public class AjaxWizardButtonBar extends WizardButtonBar
>
> public abstract class AjaxWizardButton extends AjaxFallbackButton
>
> The buttonbar class has an onSubmit method that knows when things are
> good or bad (confirmed in a non-AJAX context) but when I run as AJAX
> enabled (enabling javascript) onSubmit never fires.
>
> John-
>
>
> On Fri, Dec 4, 2009 at 9:00 AM, Igor Vaynberg <igor.vaynb...@gmail.com> wrote:
>> where is the code of the ajax button that submits the step?
>>
>> -igor
>>
>> On Fri, Dec 4, 2009 at 7:08 AM, John Armstrong <siber...@siberian.org> wrote:
>>> 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: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to