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]

Reply via email to