>>>
>>>> Yes, I'm using BigDecimal type converter given here:
>>>> http://www.nabble.com/-s2--Formatting-input-textfields-tt18593985.html
>>>> http://www.nabble.com/-s2--Formatting-input-textfields-tt18593985.html
>>>> .
>>>>
l need a validator so that the string doesn't
>>>>> violate the BigDecimal grammar.
>>>>>
>>>>> Other option (may be more clean) is the action having both the string
>>>>> instance and the real BigDecimal instance, then the form will
[mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2008 10:08 PM
To: Struts Users Mailing List
Subject: Re: [s2] Making textfield input optional
Yes, you need to write this setter in your action class.
2008/7/24 Milan Milanovic <[EMAIL PROTECTED]>:
>
> Dear Gabriel,
>
> You mean
.,
www.tavant.com
PEOPLE :: PASSION :: EXCELLENCE
-Original Message-
From: Milan Milanovic [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2008 7:47 PM
To: user@struts.apache.org
Subject: [s2] Making textfield input optional
Hi,
I have one form with multiple textfields, and I want to one
eal BigDecimal instance, then the form will only set
>>>> the string instance.
>>>>
>>>> 2008/7/24 Milan Milanovic <[EMAIL PROTECTED]>:
>>>>>
>>>>> Dear Newton,
>>>>>
>>>>> Yes, I'm using BigDecimal type conve
>>> 2008/7/24 Milan Milanovic <[EMAIL PROTECTED]>:
>>>>
>>>> Dear Newton,
>>>>
>>>> Yes, I'm using BigDecimal type converter given here:
>>>> http://www.nabble.com/-s2--Formatting-input-textfields-tt18593985.html
>>>>
>>> Thx, Milan
>>>
>>>
>>> newton.dave wrote:
>>>>
>>>> Are you using a BigDecimal type converter (one of which was just
>>>> posted)?
>>>>
>>>> AFAIK it won't work w/o the converter, but I could
ve wrote:
>>>
>>> Are you using a BigDecimal type converter (one of which was just
>>> posted)?
>>>
>>> AFAIK it won't work w/o the converter, but I could be remembering
>>> incorrectly.
>>>
>>> Dave
>>>
>>> --
e you using a BigDecimal type converter (one of which was just posted)?
>>
>> AFAIK it won't work w/o the converter, but I could be remembering
>> incorrectly.
>>
>> Dave
>>
>> --- On Thu, 7/24/08, Milan Milanovic <[EMAIL PROTECTED]> wrote:
>>
&g
e converter (one of which was just posted)?
>
> AFAIK it won't work w/o the converter, but I could be remembering
> incorrectly.
>
> Dave
>
> --- On Thu, 7/24/08, Milan Milanovic <[EMAIL PROTECTED]> wrote:
>
>> From: Milan Milanovic <[EMAIL PROTECTED
t;>>>
> >>>>>> 2008/7/24 Milan Milanovic
> <[EMAIL PROTECTED]>:
> >>>>>> >
> >>>>>> > Hi,
> >>>>>> >
> >>>>>> > I have one form with multipl
;>> > 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 p
on
>>>>> > in that particular field. Now, when user don't enter I get this in my
>>>>> log:
>>>>> >
>>>>> > ERROR com.opensymphony.xwork
ror ?
--
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:
arametersInterceptor - [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 th
>>>> >
>>>> > ERROR com.opensymphony.xwork2.interceptor.ParametersInterceptor:204 -
>>>> > ParametersInterceptor - [setParameters]: Unexpected Exception caught
>>>> setting
>>>
gt; > expression 'inValue' with value '[Ljava.lang.String;@1d3ac6e'
> >
> > How can I enable this but without getting this error ?
> >
> > --
> > Thx, Milan
> > --
tersInterceptor:204 -
>>> > ParametersInterceptor - [setParameters]: Unexpected Exception caught
>>> setting
>>> > 'inValue' on 'class com.myProject.action.ViewAction: Error setting
>>> > expression 'inValue' wi
ametersInterceptor - [setParameters]: Unexpected Exception caught
>> setting
>> > 'inValue' on 'class com.myProject.action.ViewAction: Error setting
>> > expression 'inValue' with value '[Ljava.lang.String;@1d3ac6e'
>> >
>> &
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-textfi
20 matches
Mail list logo