settings is a SettingList which is just an extended ArrayList<Setting>.

The rendered source looks like:
<input value="192.168.1.1" name="settings[0].value"
id="setting_D176A8AA-1636-4AFF-9C71-16A21DFCEDA7"/>

Currently there is only one Setting, but adding another arbitrary entry does
come up with settings[1].value, etc.

Ryan


Lukasz Lenart wrote:
> 
> 2009/3/16 ryangr <grigg...@gmail.com>:
>> ERROR com.opensymphony.xwork2.util.InstantiatingNullHandler  - Could not
>> create and/or set value back on to object
>> ognl.OgnlException: settings [java.lang.IllegalArgumentException:
>> argument
>> type mismatch]
>> ERROR com.opensymphony.xwork2.interceptor.ParametersInterceptor  -
>> ParametersInterceptor - [setParameters]: Unexpected Exception caught
>> setting
>> 'settings[0].title' on 'class com.rjssoft.webdocs.admin.SettingAction:
>> Error
>> setting expression 'settings[0].title' with value
>> '[Ljava.lang.String;@185fe0c'
> 
> settings is a List?
> could you take a look on rendered page source, are there different
> indexes (settings[x].title)?
> 
> 
> 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-tp22497261p22540046.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