Re: [Wicket-user] nested DataView is not updating model

2007-03-30 Thread Igor Vaynberg
/** * Whether this component's onSelectionChanged event handler should called * using javascript if the selection changes. If true, a roundtrip will be * generated with each selection change, resulting in the model being * updated (of just this component) and onSelectionChanged bei

Re: [Wicket-user] nested DataView is not updating model

2007-03-30 Thread changdt2
Hi , I do have dataview.setitemreusestrategy and reuseifmodelsequalstartegy. I took a closer look at my code and what I notice is that when I click on the radio button which has wantOnSelectionChangedNotifications returning true, it does not update the model. basically I have a few textfield ( s

Re: [Wicket-user] nested DataView is not updating model

2007-03-29 Thread Igor Vaynberg
if you use dataview in a form you have to set the proper itemreusestrategy so dataview doesnt discard items and rebuild them on every request see dataview.setitemreusestrategy and reuseifmodelsequalstartegy -igor On 3/29/07, changdt2 <[EMAIL PROTECTED]> wrote: this is what I have public c

Re: [Wicket-user] nested DataView is not updating model

2007-03-29 Thread changdt2
this is what I have public class MyRadioChoice extends RadioChoice { public MyRadioChoice(final String id, final IModel model,List choices) { super(id,model,choices);} public boolean wantOnSelectionChangedNotifications(){return true;} } public void populateItem(final It

Re: [Wicket-user] nested DataView is not updating model

2007-03-29 Thread Igor Vaynberg
what do you mean fields are not highlighted? -igor On 3/29/07, changdt2 <[EMAIL PROTECTED]> wrote: hi, I am working with DataView where each item will a have a label, checkbox and another Dataview which is created on the fly, but it seems that the models in the sub Dataview is not been atta