But then how do you plan to write a converter to convert a String[] to a 
SettingList? Also why is aggregation a bad design?
Regards
Chris M


-----Original Message-----
From: Lukasz Lenart <[email protected]>
To: Struts Users Mailing List <[email protected]>
Sent: Wed, 18 Mar 2009 5:50 pm
Subject: Re: Type conversion exceptions



2009/3/18  <[email protected]>:
> My bad -- I didn't realize SettingList extends ArrayList. Suggestion: make it 
aggregation so that SettingList has a property of type ArrayList<Setting> and 
your type conversion problems will go away.

In such case SettingList is useless, it will be bad design


Regards
-- 
Lukasz
http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


Reply via email to