Re: Testing RadioChoice with AjaxFormComponentUpdatingBehavior

2009-08-05 Thread development
Since nobody replied (yet) and I cannot believe that I am the only one having this problem, and I found a way to bypass the problem I wanted to share my solution The executeBehavior method on the WicketTester looks like this. public void executeBehavior(final AbstractAjaxBehavior behavior) {

Testing RadioChoice with AjaxFormComponentUpdatingBehavior

2009-07-31 Thread development
Hi all, I am trying to test the ajax behaviour on a RadioChoice. The RadioChoice has an AjaxFormComponentUpdatingBehavior which show/hide a panel depending on its model value. final Label label = new Label(label, label); label.setOutputMarkupId(true); label.setVisible(false);