Re: [Wicket-user] back button problem...

2006-09-09 Thread Igor Vaynberg
well...this is all unique to the compound model because it uses the component's id to resolve the property. so when you passed in "this" it tried to use the form's id which obviously did not work.this will all be clearer in 2.0 where imodel looks like thisIModel {  T getObject();  void setObject(T

Re: [Wicket-user] back button problem...

2006-09-09 Thread Erik Brakkee
Oops, solved it myself. I should have used getModel().getObject(null). I found this out while stepping through the wicket code. In my opinion, the documentation for IModel.getObject should be extended. Right now it says: /** * Gets the model object. * * @param component *