[S2] How to change "Invalid field value for field" message in tr

2015-02-11 Thread Krunal Chavda
Create new file in same package where your action class is defined,."actionclassname.properties" and in that file use this "invalid.fieldvalue.FieldName=give msg for user".it is working also in my case it is working

Re: [S2] How to change "Invalid field value for field" message in tr

2013-07-23 Thread silvinah
but i hope it may help another person -- View this message in context: http://struts.1045723.n5.nabble.com/S2-How-to-change-Invalid-field-value-for-field-message-in-tr-tp3461848p5713281.html Sent from the Struts - User mailing list archive at Nabble.com

Invalid Field Value For Field

2007-11-22 Thread sagarlotiya
Hi, When i am trying to add "String" in "int" field, struts2 gives me following message. "invalid field value for field xyz". Now i want to change this message to my custome message. Then i have to create file ClassName.properties and in that if

Re: [S2] How to change "Invalid field value for field" message intr

2007-05-04 Thread Rene Gielen
y validation for these fields. >> Struts >> 2 >> controls double, int, date fields and if they are not valid it writes >> the >> message "Invalid field value for field "property.intValue" . I couldn't >> find >> where the message is

Re: [S2] How to change "Invalid field value for field" message intr

2007-05-04 Thread Rene Gielen
On Thu, 3 May 2007 22:29:26 -0700 (PDT), Struts2 Fan <[EMAIL PROTECTED]> wrote: > > Yes I checked them. I didn't write any validation for these fields. Struts > 2 > controls double, int, date fields and if they are not valid it writes the > message &quo

Re: [S2] How to change "Invalid field value for field" message in tr

2007-05-03 Thread Struts2 Fan
Yes I checked them. I didn't write any validation for these fields. Struts 2 controls double, int, date fields and if they are not valid it writes the message "Invalid field value for field "property.intValue" . I couldn't find where the message is defined. So I could

Re: [S2] How to change "Invalid field value for field" message in tr

2007-05-03 Thread Laurie Harper
Struts2 Fan wrote: Hi all, When a form is submitted if there is an integer value and the user enters a non-integer value, it gives the error "Invalid field value for field .." I want to define it for locale tr I just couldn't find where to create a new file or where to add

[S2] How to change "Invalid field value for field" message in tr

2007-05-03 Thread Struts2 Fan
Hi all, When a form is submitted if there is an integer value and the user enters a non-integer value, it gives the error "Invalid field value for field .." I want to define it for locale tr I just couldn't find where to create a new file or where to add the bundles for t