iled for object
> >> >> > >
> >> junit.adm.authority.acco...@7a8ba4[java.lang.nosuchmethodexception:
> >> >> > > junit.adm.authority.Account.setValue2([Ljava.lang.String;)]
> >> >> &
;> > > 'accounts[0].value2' with value '[Ljava.lang.String;@165de14'
>> >> > > ognl.MethodFailedException: Method "setValue2" failed for object
>> >> > >
>> junit.adm.authority.acco...@7a8ba4[java.lang.nosuchmethodexception:
>> >> > >
g;)]
> >> > > at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1265)
> >> > > at ognl.OgnlRuntime.setMethodValue(OgnlRuntime.java:1454)
> >> > > at
> >> > >
> >> >
> >>
> ognl.ObjectPropertyAccessor.setPoss
OgnlRuntime.java:1454)
>> > > at
>> > >
>> >
>> ognl.ObjectPropertyAccessor.setPossibleProperty(ObjectPropertyAccessor.java:85)
>> > > at
>> > >
>> ognl.ObjectPropertyAccessor.setProperty(ObjectPropertyAccessor.java:162)
>> > > at
>> >
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 )
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
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
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
8 matches
Mail list logo