[
https://issues.jboss.org/browse/GTNPORTAL-1673?page=com.atlassian.jira.pl...
]
RH Bugzilla Integration commented on GTNPORTAL-1673:
----------------------------------------------------
claprun(a)redhat.com made a comment on [bug
793571|https://bugzilla.redhat.com/show_bug.cgi?id=793571]
Changes have been made to remediate the issue. A new version of EPP 5.2.1 should be
available soon.
make UI validation regular expressions configurable by users
-------------------------------------------------------------
Key: GTNPORTAL-1673
URL:
https://issues.jboss.org/browse/GTNPORTAL-1673
Project: GateIn Portal
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Reporter: Gary Hu
Assignee: Chris Laprun
Fix For: 3.2.0-GA
The current exoadmin portlet uses hard coded regular expressions to validate the UI
component form in multiple java files under
portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component.
For example, the org.exoplatform.organization.webui.component.UIGroupMembershipForm class
has the following lines:
addUIFormInput(new UIFormStringInput(USER_NAME, USER_NAME,
null).addValidator(MandatoryValidator.class)
.addValidator(ExpressionValidator.class, "^\\p{L}[\\p{L}\\d._\\-,]+$",
"UIGroupMembershipForm.msg.Invalid-char"));
Can we make the validation expressions configurable by users? We can still keep the
current validation expressions as the default but allow the user defined expressions to
override the default.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira