Author: hoang_to
Date: 2009-12-17 23:57:24 -0500 (Thu, 17 Dec 2009)
New Revision: 1057
Modified:
portal/trunk/webui/core/src/main/java/org/exoplatform/webui/form/UIFormTextAreaInput.java
Log:
GTNPORTAL-402: UIFormTextAreaInput component does not save the state when enter an empty
string
Modified:
portal/trunk/webui/core/src/main/java/org/exoplatform/webui/form/UIFormTextAreaInput.java
===================================================================
---
portal/trunk/webui/core/src/main/java/org/exoplatform/webui/form/UIFormTextAreaInput.java 2009-12-18
03:58:44 UTC (rev 1056)
+++
portal/trunk/webui/core/src/main/java/org/exoplatform/webui/form/UIFormTextAreaInput.java 2009-12-18
04:57:24 UTC (rev 1057)
@@ -47,7 +47,6 @@
@SuppressWarnings("unused")
public void decode(Object input, WebuiRequestContext context) throws Exception {
String val = (String) input ;
- if((val == null || val.length() == 0)) return ;
value_ = val ;
if(value_ != null && value_.length() == 0) value_ = null ;
}
Show replies by date