Hello,
Testing the Age (int age ) value with space or some letters, with
https://svn.apache.org/repos/asf/struts/sandbox/trunk/struts2examples/annotations/
I don't understand where the message Invalid field value
for field 'personBean.age'. come from ( and the red color too)
From
Type conversion and validation interceptors, combined with the default
theme.
On Dec 27, 2013 9:11 AM, Chris christal...@yahoo.fr wrote:
Hello,
Testing the Age (int age ) value with space or some letters, with
Hi,
It has been done by
/xwork-core/src/main/java/com/opensymphony/xwork2/conversion/impl/XWorkConverter.java
inside Struts.
By default, all conversion errors are reported using the generic i18n
key xwork.default.invalid.fieldvalue, which you can override (the
default text is Invalid field
I like to do variable substitution at the resource property file.
I had tried this:
Resource property file:
common.name=What is the name?
page.name.01=${common.name}
Jsp file:
bean:message key=page.name.01 /
The browser displayed the desired message properly.
i.e.
What is the name? is displayed
4 matches
Mail list logo