Thanks Niel For Your Help
--
View this message in context:
http://old.nabble.com/Struts2-Multiple-validation-for-single-field-tp26373102p26373908.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To
Vikrant:
> 20:50:58,950 WARN [OgnlValueStack] Error setting value
> ognl.MethodFailedException: Method "setLoad" failed for object
> com.tcs.infra.workload.remoteclientact...@161ef9c
This is no big deal since it is just a warning.
If you want to keep your field as an int, you can
implement a me
Vikrant:
> If I am declaring it as int how should I check for null.
OK, I think I see what you are asking.
If you change your field to an int field and the
user does not fill in the value, you will
get zero. If they put in zero, you will get zero
and there is no way to tell the difference.
Is
er.process(Http11Protocol.java:601)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:636)
\--/
--
View this message in context:
http://old.nabble.com/Struts2-Multiple-validation-for-si
If I am declaring it as int how should I check for null. Can u explain me
please?
--
View this message in context:
http://old.nabble.com/Struts2-Multiple-validation-for-single-field-tp26373102p26373588.html
Sent from the Struts - User mailing list archive at Nabble.com
Vikrant:
> Here I am able to validate for not null fields. But I also
> want to validate
> it for the field if not null should be numeric. How Can I do this??
> Please Suggest me possible solution in order to validate both things.
Have you tried making your fields int instead of String?
o this??
Please Suggest me possible solution in order to validate both things.
--
View this message in context:
http://old.nabble.com/Struts2-Multiple-validation-for-single-field-tp26373102p26373102.html
Sent from the Struts - User mailing list archive at Nabble.com.
7 matches
Mail list logo