Re: Model object not geeting updated inside a RefreshingView

2008-09-26 Thread krisnv
can any of you please respond. krisnv wrote: pI have RefreshingView similar to Contact Editor in Wicket Examples.BR I added a Panel and TextFields to this RefreshingView. BRI populate these TextFields from a list from Database and have assigned Model objects to each TextField component

Re: Model object not geeting updated inside a RefreshingView

2008-09-26 Thread krisnv
don't forget to call setReuseItems(true) on it. -Matej On Fri, Sep 26, 2008 at 4:49 PM, krisnv [EMAIL PROTECTED] wrote: can any of you please respond. krisnv wrote: pI have RefreshingView similar to Contact Editor in Wicket Examples.BR I added a Panel and TextFields

Re: Model object not geeting updated inside a RefreshingView

2008-09-26 Thread krisnv
hashCode() { return super.hashCode(); } - krishna igor.vaynberg wrote: does your model properly implement equals and hashcode? and i mean your actual IModel you are using, not the object inside it... -igor On Fri, Sep 26, 2008 at 8:55 AM, krisnv [EMAIL PROTECTED

Re: Model object not geeting updated inside a RefreshingView

2008-09-26 Thread krisnv
wrote: that is because your form never submits, otherwise you woudlve gotten a stacktrace because you were using a readonlymodel previously -igor On Fri, Sep 26, 2008 at 9:43 AM, krisnv [EMAIL PROTECTED] wrote: I tried using the PropertyModel , add(new textfield(name, new propertymodel

Re: Model object not geeting updated inside a RefreshingView

2008-09-26 Thread krisnv
Never mind. I used SubmitLink instead of Link and that fixed it. Thanks a lot Igor and others for your time and replies. - krishna krisnv wrote: Ok. Should i need to call submitForm() on the event onClick() for the link? add(new Link(edit) { public void onClick() { int