Hello
thanks for your answers but, I add the OnError method and nothing more
happens, with firebug have seen that there is no request at all when i click
on this button, just like if there was no event attach on it, I don't
understand why ??
Bertrand
2008/8/8 Al Maw <[EMAIL PROTECTED]>
> This may be a client tag interpretation problem? Try using >>
> instead of >>. I don't think ">" inside HTML attributes is valid HTML.
>
> Use firebug and/or the wicket ajax debug window (link bottom right on
> your page) to see what's going on.
>
> Alastair
>
> 2008/8/5 Daniel Freitas <[EMAIL PROTECTED]>:
> > Do you have any form validation going on? If yes implement the onError
> > method on the ajax button. Example:
> >
> > form.add(new AjaxButton("order") {
> > @Override
> > protected void onError(AjaxRequestTarget target, Form form) {
> > //Ops we got some errors, show them in a feedback panel
> > target.addComponent(feedbackPanel);
> > }
> >
> > @Override
> > protected void onSubmit(AjaxRequestTarget target, Form form) {
> > //Do whatever you need here :)
> > setResponsePage(Index.class);
> > }
> > }.setOutputMarkupId(true));
> >
> >
> > Hope that helps.
> > 2008/8/5 Bertrand DATAS <[EMAIL PROTECTED]>
> >
> >> Hello All,
> >>
> >> I encounter a problem while I am using an AjaxButton.
> >>
> >> In my form page i create an Ajaxbutton that I attach to a
> markupContainer
> >> and in my HTML I add the folowwing HTML code :
> >> <input type="button" value=">>" wicket:id="selection" />
> >>
> >> The button is set default form processing to false.
> >>
> >> The problem is that when i click on this button nothing happens !!
> >> I have the same problem with ana AjaxSubmitLink.
> >>
> >> I use the Wicket framework 1.3.4.
> >>
> >>
> >> Can someone help me to see what is wrong with that button ??
> >>
> >> Thanks
> >>
> >> Bertrand
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>