Probably a missing feature. Could you open a JIRA issue please?
Martijn
On 1/14/08, Brandon Fuller <[EMAIL PROTECTED]> wrote:
>
> Writing some unit tests and I have an AjaxFallbackButton that I want to call.
> I have tried these 2 methods:
>
> form.submit("rootViewPanel:addOrganization");
>
> tester.executeAjaxEvent("meetingForm:inputForm:rootViewPanel:addOrganization",
> "onclick");
>
> Neither seems to work. They both seem to want to submit the entire form and
> perform validation.
>
> I was looking at the source for BaseWicketTester and noticed that in
> executeAjaxEvent(), it always tries to submit the form if the behavior is a
> AjaxFormSubmitBehavior. This wouldn't be correct in the case of when you
> set setDefaultFormProcessing(false) on the button.
>
> if (ajaxEventBehavior instanceof AjaxFormSubmitBehavior)
>
> Thoughts? I can't find any other posts here dealing with this topic.
> --
> View this message in context:
> http://www.nabble.com/WicketTester-Doesn%27t-Support-setDefaultFormProcessing%28false%29-tp14814895p14814895.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.0 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]