First of sorry for multiple submission of my post (I submit the post far too
many times).
Basically there are two fields, one is string and other is int, and both are
legal values.
I will try to use custom data convertor.
Regards,
Syed
Dariusz Wojtas wrote:
>
> What is the type of 'field1'?
> Is it's String representation passed from the form compatible with
> what the data type converter expects?
> I have seen problems like this for properties of type
java.util.Date> and locale on the server machine different that EN. SImilar problems
> with Double/Float and non default comma separator.
> You may try to use custom data converters here.
>
> regards
>
> Dariusz Wojtas
>
> On 3/5/07, sfali wrote:
>>
>> Hi All,
>>
>> I have following scenario:
>>
>> In my Action I set my pojo bean with some values and sets this bean into
>> session. On the next page I displays these values in a form by
>> <s:textfield name="field1" value="%{#sesssion.mypojo.field1}"/>,
>> when
>> I am submitting the form
>> I am geting following error:
>> ERROR [
com.opensymphony.xwork2.interceptor.ParametersInterceptor]
>> ParametersInterceptor - [setParameters]: Unexpected Exception catched:
>> Error
>> setting expression 'field1' with value '[Ljava.lang.String;@(protected)'.
>>
>>
>> Any Idea what is going wrong? and how to fix it. I am using Struts 2.0.6.
>>
>> Thanks in advance.
>>
>>
>> Regards
>>
>>
>> Syed Ali
>>
>> --
>> View this message in context:
>> http://www.nabble.com/ParametersInterceptor-Error-tf3351752.html#a9320645
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
>
--
Sent from the Struts - User mailing list archive at Nabble.com.