Hey if you are using int, float, or double instead of them use Wrapper
Classes id Integer, Float, Double former does not allow null value while
later does allow.

Regards,

Jishnu Viswanath

Software Engineer

*(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll

Tavant Technologies Inc.,

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 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-tp18632806p18
632806.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]

Any comments or statements made in this email are not necessarily those of 
Tavant Technologies.
The information transmitted is intended only for the person or entity to which 
it is addressed and may 
contain confidential and/or privileged material. If you have received this in 
error, please contact the 
sender and delete the material from any computer. All e-mails sent from or to 
Tavant Technologies 
may be subject to our monitoring procedures.


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

Reply via email to