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

[Wicket-user] nested DataView is not updating model

2007-03-29 Thread changdt2
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 attached, when error happens the Sub Dataview which contains fields is not high lighted. Is there a issue

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

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

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