/**
* 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
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
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
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
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