Author: mstruk
Date: 2012-03-05 17:33:35 -0500 (Mon, 05 Mar 2012)
New Revision: 8537
Modified:
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageSelector.java
Log:
Bug 794395 - (JBEPP-1439) invalid page title causes the edit node dialog to disappear
Modified:
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageSelector.java
===================================================================
---
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageSelector.java 2012-03-05
16:58:32 UTC (rev 8536)
+++
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageSelector.java 2012-03-05
22:33:35 UTC (rev 8537)
@@ -44,6 +44,7 @@
import org.exoplatform.webui.form.UIFormStringInput;
import org.exoplatform.webui.form.validator.IdentifierValidator;
import org.exoplatform.webui.form.validator.MandatoryValidator;
+import org.exoplatform.webui.form.validator.NotHTMLTagValidator;
import org.exoplatform.webui.form.validator.StringLengthValidator;
import java.util.List;
@@ -75,8 +76,7 @@
uiInputSet.addChild(new UIFormStringInput("pageName",
"pageName", null).addValidator(StringLengthValidator.class,
3,
30).addValidator(IdentifierValidator.class).addValidator(MandatoryValidator.class));
uiInputSet.addChild(new UIFormStringInput("pageTitle",
"pageTitle", null).addValidator(
- StringLengthValidator.class, 3, 120));
-
+ StringLengthValidator.class, 3, 120).addValidator(NotHTMLTagValidator.class));
addChild(uiInputSet);
}
Show replies by date