]
Vu Viet Phuong updated GTNPORTAL-3533:
--------------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 3.9.0.Final
Resolution: Done
Support loading custom validator in system properties if no
configuration.properties file
-----------------------------------------------------------------------------------------
Key: GTNPORTAL-3533
URL:
https://issues.jboss.org/browse/GTNPORTAL-3533
Project: GateIn Portal
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Components: WebUI
Affects Versions: 3.8.2.Final
Reporter: Vu Viet Phuong
Assignee: Vu Viet Phuong
Priority: Minor
Fix For: 3.9.0.Final
We have UserConfigurableValidator class, that allow to validate UIForm input components.
This validator allow developer to define their own validator by adding config into
TOMCAT/gatein/conf/configuration.properties
The file name "configuration.properties" is currently hard-code. People may
want to load configuration from other resource. We should make it more flexible by
allowing to load configuration from system properties when that file is not exists