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
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
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
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
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
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
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
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
8 matches
Mail list logo