explicitly calling set Render Body Only(false) doesn't work either, because AFCCUB calls update Model() in line 159, which fails if the constructor Radio Group(String id) is used, as the component's field "model" is null.
original comment: patch removes "protected Component component" and uses "get Component()Markup Id()" instead of "Markup Id()".
In order to make development of components easy Component provides set Default Model(IModel model) and set Default Model Object(Object o) with their getter analogs.p=wicket.git;h=e200d82 ] WICKET-6044 Ajax Form Choice Component Updating Behavior: Duplicate input values according to WICKET-5948 Simplify Ajax Form Choice Component Updating Behavior.Since WICKET-5948 collects all form elements children Commit 5d15d75d67b5defd7802cb8dfe6f52979de7f92c in wicket's branch refs/heads/ WICKET-6044 from Sven Meier [ https://git-wip-us.apache.org/repos/asf?But that poses problems for components that use two different model types: which one should be in the lead?To illustrate the removal of the default model, take a look at the following link residing within a List View of people: You can see the type cast when we retrieve the model object from the link, just before we pass the person on to the Edit Person Page.Markup Container.visit Children(Markup Container.java:843) at org.apache.wicket. Markup Container.visit Children(Markup Container.java:858) at org.apache.wicket. Markup Container.visit Children(Markup Container.java:883) original comment: patch removes "protected Component component" and uses "get Component()Markup Id()" instead of "Markup Id()".