Hi! The following code (1.4-rc6): // We need to get the form submitted, using reflection. // It needs to be "submitted". Form<?> form = null; try { Field formField = AjaxFormSubmitBehavior.class.getDeclaredField("__form"); formField.setAccessible(true); form = (Form<?>)formField.get(behavior); } catch (Exception e)
fails when AjaxButton is declared with implicite form. Probably the above code should use the getForm() method? ** Martin --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org