Re: Delegate a Modelchange to the child components. Or using a ModalWindow for displaying different Models of a specific Type.

2010-02-16 Thread MattyDE
Ohkay.. i've found a solution.. but i thinks not simple.. or wicket-like i think... but its the only way to pass the new model to the known propertyModel =/ now iam doing this in UserEdit.java @Override protected void onModelChanged() { final IModelUser

Re: Delegate a Modelchange to the child components. Or using a ModalWindow for displaying different Models of a specific Type.

2010-02-16 Thread MattyDE
Oh my God.. its so easy ... _ public class UserEdit extends Panel { /** * @param id * @param model */ public UserEdit(String id, CompoundPropertyModelUser _model) { super(id, _model); this.add(new

Delegate a Modelchange to the child components. Or using a ModalWindow for displaying different Models of a specific Type.

2010-02-15 Thread Martin U
Its not easy to find the right topic, but i will try to explain my problem as best as i can. I want to display an user-detail View (User is an BusinessObject in my Application) inside a specific Modal window. So at the rendering of the Site i place an empty or dummy UserObject inside my