Author: liem_nguyen
Date: 2009-11-16 23:51:30 -0500 (Mon, 16 Nov 2009)
New Revision: 620
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/container/UIContainerForm.java
Log:
GTNPORTAL-138 Should limit character in Container Title (should set max length for the
input is 50 characters)
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/container/UIContainerForm.java
===================================================================
---
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/container/UIContainerForm.java 2009-11-17
04:43:50 UTC (rev 619)
+++
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/container/UIContainerForm.java 2009-11-17
04:51:30 UTC (rev 620)
@@ -75,8 +75,7 @@
infoInputSet.addUIFormInput(
new UIFormStringInput("id", "id",
null).addValidator(MandatoryValidator.class).addValidator(
StringLengthValidator.class, 3,
30).addValidator(NameValidator.class)).addUIFormInput(
- new UIFormStringInput("title", "title", null)).
- //addValidator(StringLengthValidator.class, 3, 30)).
+ new UIFormStringInput("title", "title",
null).addValidator(StringLengthValidator.class, 50)).
addUIFormInput(
new UIFormStringInput("width", "width",
null).addValidator(ExpressionValidator.class,
"(^([1-9]\\d*)(px|%)$)?",
"UIContainerForm.msg.InvalidWidthHeight")).addUIFormInput(
Show replies by date