Am Samstag, 10. Dezember 2005 15:18 schrieb Kent Tong: > Lukas Ruetz <lukas.ruetz <at> gmx.at> writes: > > <property name="domainObject" persist="session" /> > > <component id="vpSelect" type="contrib:MultiplePropertySelection"> > > <binding name="selectedList" value="ognl:domainObject.vPeriods" /> > > <binding name="model" value="ognl:vPSelectionModel" /> > > </component> > > > > The domainObject contains > > public LinkedList<VPeriod> getVPeriod() > > public void setVPeriods( LinkedList<VPeriod> ) > > ^^ this method gets called with null > > It will return a java.util.List which may or may not be a > java.util.LinkedList. Checking the code shows that it returns a > java.util.ArrayList which is definitely not a java.util.LinkedList. So, you > may try: > > public List<VPeriod> getVPeriod(); > public void setVPeriods(List<VPeriod> );
That works - thank you! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
