Re: Warning message when setting BigDecimal to list of bean

2009-09-14 Thread Steven Yang
iled for object > >> >> > > > >> junit.adm.authority.acco...@7a8ba4[java.lang.nosuchmethodexception: > >> >> > > junit.adm.authority.Account.setValue2([Ljava.lang.String;)] > >> >> &

Re: Warning message when setting BigDecimal to list of bean

2009-09-14 Thread dusty
;> > > 'accounts[0].value2' with value '[Ljava.lang.String;@165de14' >> >> > > ognl.MethodFailedException: Method "setValue2" failed for object >> >> > > >> junit.adm.authority.acco...@7a8ba4[java.lang.nosuchmethodexception: >> >> > >

Re: Warning message when setting BigDecimal to list of bean

2009-09-13 Thread Steven Yang
g;)] > >> > > at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1265) > >> > > at ognl.OgnlRuntime.setMethodValue(OgnlRuntime.java:1454) > >> > > at > >> > > > >> > > >> > ognl.ObjectPropertyAccessor.setPoss

Re: Warning message when setting BigDecimal to list of bean

2009-09-13 Thread dusty
OgnlRuntime.java:1454) >> > > at >> > > >> > >> ognl.ObjectPropertyAccessor.setPossibleProperty(ObjectPropertyAccessor.java:85) >> > > at >> > > >> ognl.ObjectPropertyAccessor.setProperty(ObjectPropertyAccessor.java:162) >> > > at >> >

Re: Warning message when setting BigDecimal to list of bean

2009-09-12 Thread Steven Yang
so...this is an OGNL error? is there a way to fix it? or should i file a bug? On Fri, Sep 11, 2009 at 12:32 AM, j alex wrote: > hmm..i remember getting the warning even for doubles..as the error message > says, OGNL fails when trying to set a String array (all request parameters > are Strings )

Re: Warning message when setting BigDecimal to list of bean

2009-09-10 Thread j alex
hmm..i remember getting the warning even for doubles..as the error message says, OGNL fails when trying to set a String array (all request parameters are Strings ) into the BigDecimal field since it cannot find an appropriate setter. In connection to this, can anyone let me know how to suppress th

Re: Warning message when setting BigDecimal to list of bean

2009-09-09 Thread Steven Yang
Sorry I forgot to mention I am using Struts 2.1.8 SNAP SHOT with XWork 2.1.6 samething happens with XWork 2.1.5 On Wed, Sep 9, 2009 at 2:03 PM, Steven Yang wrote: > Hi > I have a bean like > public class Account { > > private String type; > private String name; > private BigDecimal v

Warning message when setting BigDecimal to list of bean

2009-09-08 Thread Steven Yang
Hi I have a bean like public class Account { private String type; private String name; private BigDecimal value1; private BigDecimal value2; private BigDecimal value3; //getter, setters } in my action i have public class TestAction extends ActionSupport { private List ac