2013/9/20 Alireza Fattahi :
> Let me ask this way.
> In below validation
> @IntRangeFieldValidator(type =ValidatorType.FIELD,min ="10"
>
> is there any way we can read '10' from external resource files !
Directly not, but there is built-in support for expression, so you can
use minExpression="${mi
Mailing List
Sent: Tuesday, 17 September 2013, 12:48
Subject: Re: How configure struts2 to get validation rules from Spring via
@value
Code formatting? Maybe use some web service to present your code.
Does system.properties is defined as a Struts 2 properties file?
2013/9/17 Alireza Fattahi :
>
Mailing List
Sent: Tuesday, 17 September 2013, 12:48
Subject: Re: How configure struts2 to get validation rules from Spring via
@value
Code formatting? Maybe use some web service to present your code.
Does system.properties is defined as a Struts 2 properties file?
2013/9/17 Alireza Fattahi :
>
Code formatting? Maybe use some web service to present your code.
Does system.properties is defined as a Struts 2 properties file?
2013/9/17 Alireza Fattahi :
> We are using spring 3 and struts 2. We use spring @value annotation to get
> values from property files.
> We want to get validation ru
We are using spring 3 and struts 2. We use spring @value annotation to get
values from property files.
We want to get validation rules from property files instead of hard-coding them
in action.
Here is sample property system.properties transfer.account.min.amount=10
Here is the action:
public
5 matches
Mail list logo