instead of:

public vlid setInValue(BigDecimal x) {
  this.x = x;
}

test with this:

public vlid setInValue(String s) {
  this.x = new BigDecimal(s);
}


2008/7/24 Milan Milanovic <[EMAIL PROTECTED]>:
>
> Hi Jim,
>
> no, I have that method.
>
> --
> Thx, Milan
>
>
> Jim Kiley wrote:
>>
>> Doesn't that exception usually get thrown when, in this case, ViewAction
>> doesn't have a setInValue() method?
>>
>> jk
>>
>> On Thu, Jul 24, 2008 at 10:31 AM, Gabriel Belingueres
>> <[EMAIL PROTECTED]>
>> wrote:
>>
>>> Which is the data type of inValue?
>>>
>>> 2008/7/24 Milan Milanovic <[EMAIL PROTECTED]>:
>>> >
>>> > Hi,
>>> >
>>> > I have one form with multiple textfields, and I want to one of that
>>> > textfield be optional for user, i.e., he doesn't need to enter
>>> information
>>> > in that particular field. Now, when user don't enter I get this in my
>>> log:
>>> >
>>> > ERROR com.opensymphony.xwork2.interceptor.ParametersInterceptor:204 -
>>> > ParametersInterceptor - [setParameters]: Unexpected Exception caught
>>> setting
>>> > 'inValue' on 'class com.myProject.action.ViewAction: Error setting
>>> > expression 'inValue' with value '[Ljava.lang.String;@1d3ac6e'
>>> >
>>> > How can I enable this but without getting this error ?
>>> >
>>> > --
>>> > Thx, Milan
>>> > --
>>> > View this message in context:
>>> http://www.nabble.com/-s2--Making-textfield-input-optional-tp18632806p18632806.html
>>> > Sent from the Struts - User mailing list archive at Nabble.com.
>>> >
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> > For additional commands, e-mail: [EMAIL PROTECTED]
>>> >
>>> >
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>
>>
>> --
>> Jim Kiley
>> Technical Consultant | Summa
>> [p] 412.258.3346 [m] 412.445.1729
>> http://www.summa-tech.com
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/-s2--Making-textfield-input-optional-tp18632806p18633474.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to