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 <lukasz.len...@googlemail.com>
To: Struts Users Mailing List <user@struts.apache.org>
Sent: Wed, 18 Mar 2009 5:50 pm
Subject: Re: Type conversion exceptions



2009/3/18  <musom...@aol.com>:
> 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: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org


Reply via email to