That makes sense...I've added a converter for it similar to others that
already exist in the app, but it doesn't appear to be calling
convertFromString which the others use. Instead, it seems to be calling
convertValue(Map, Object, Member, String, Object, Class) which I do not see
in the Struts 2.0.14 API:

http://struts.apache.org/2.0.14/struts2-core/apidocs/org/apache/struts2/util/StrutsTypeConverter.html

Is there documentation on this somewhere that I'm missing? Is this what is
supposed to be used? None of our other typeconverters use this method
perhaps because it wasn't documented...

Ryan


Lukasz Lenart wrote:
> 
> 2009/3/16 ryangr <grigg...@gmail.com>:
>> settings is a SettingList which is just an extended ArrayList<Setting>.
> 
> That can be a problem, generics are erased during compilation and Ognl
> doesn't know how to convert array to SettingList, did you try to
> prepare converter for it?
> 
> 
> 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
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Type-conversion-exceptions-tp22497261p22540930.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to