If you're using LDM, you have to take care to *never* pull something out of the model and pass it somewhere else, e.g. never do:
new FooComponent(model.getObject().getFoo()) new PropertyModel(foo.getBar(), "baz") As long as you adhere to this guideline LDM should just work. Sven nazeem <[email protected]> schrieb: >Hi > >I have a content area in which I am displaying say PanelA. In PanelA I have >a link to navigate to PanelB. When I click that I replace the content area >with PanelB. When I construct PanelB i pass the instance PanelA via >PanelA.this so that PanelB can show a link to go back to PanelA. When the go >back link in panelB is clicked I do a replace content area with the object >(instance of panelA) I recieved in the construtor. > >This works perfectly fine and the to n fro navigation is quick. It does not >reload the whole stuff again. Done. But I need to reload some of the data >changed in backend when coming from PanelB back to PanelA. Right now the >PanelA shows the old data it does not re-load. I tried using the >LoadableDetachableModel but that does not get triggered. > >Any clue please.. > >-naz > > >-- >View this message in context: >http://apache-wicket.1842946.n4.nabble.com/reload-model-on-render-tp4442813p4442813.html >Sent from the Users forum mailing list archive at Nabble.com. > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected] >
