Author: thomas.heute(a)jboss.com
Date: 2009-08-12 09:44:18 -0400 (Wed, 12 Aug 2009)
New Revision: 13745
Modified:
tags/Enterprise_Portal_Platform_4_3_GA_CP02/core-admin/src/main/org/jboss/portal/core/admin/ui/PreferenceBean.java
Log:
After playing with various things, it looks like validation might not be necessary here
Modified:
tags/Enterprise_Portal_Platform_4_3_GA_CP02/core-admin/src/main/org/jboss/portal/core/admin/ui/PreferenceBean.java
===================================================================
---
tags/Enterprise_Portal_Platform_4_3_GA_CP02/core-admin/src/main/org/jboss/portal/core/admin/ui/PreferenceBean.java 2009-08-12
13:40:30 UTC (rev 13744)
+++
tags/Enterprise_Portal_Platform_4_3_GA_CP02/core-admin/src/main/org/jboss/portal/core/admin/ui/PreferenceBean.java 2009-08-12
13:44:18 UTC (rev 13745)
@@ -210,7 +210,7 @@
if (s.startsWith("index_"))
{
int index = Integer.parseInt(s.substring(6));
- stringValue = checkValidity(stringValue,
"common-edit-existing-form:pref-input-" + index);
+// stringValue = checkValidity(stringValue,
"common-edit-existing-form:pref-input-" + index);
if (stringValue != null)
{
@@ -225,7 +225,7 @@
}
else
{
- stringValue = checkValidity(stringValue,
"common-append-form:new_value");
+// stringValue = checkValidity(stringValue,
"common-append-form:new_value");
if (stringValue == null)
{
throw new EvaluationException("Invalid preference value: " +
value);