Author: mstruk
Date: 2012-03-06 05:49:09 -0500 (Tue, 06 Mar 2012)
New Revision: 8538
Modified:
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageForm.java
Log:
Bug 794394 - (JBEPP-1438) Invalid page title of page causes unability to edit node
Modified:
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageForm.java
===================================================================
---
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageForm.java 2012-03-05
22:33:35 UTC (rev 8537)
+++
epp/portal/branches/EPP_5_2_Branch/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageForm.java 2012-03-06
10:49:09 UTC (rev 8538)
@@ -65,6 +65,7 @@
import org.exoplatform.webui.form.UIFormTabPane;
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 org.exoplatform.webui.organization.UIGroupMembershipSelector;
import org.exoplatform.webui.organization.UIListPermissionSelector;
@@ -231,7 +232,8 @@
new UIFormStringInput("name", "name",
null).addValidator(StringLengthValidator.class, 3, 30)
.addValidator(IdentifierValidator.class).addValidator(MandatoryValidator.class))
.addUIFormInput(
- new UIFormStringInput("title", "title",
null).addValidator(StringLengthValidator.class, 3, 120))
+ new UIFormStringInput("title", "title",
null).addValidator(StringLengthValidator.class, 3, 120)
+ .addValidator(NotHTMLTagValidator.class))
.addUIFormInput(new UIFormCheckBoxInput("showMaxWindow",
"showMaxWindow", false));
addUIFormInput(uiSettingSet);
Show replies by date