Author: abelevich
Date: 2008-03-27 16:46:18 -0400 (Thu, 27 Mar 2008)
New Revision: 7338
Modified:
trunk/ui/inplaceInput/src/main/templates/inplaceinput.jspx
Log:
http://jira.jboss.com/jira/browse/RF-2791
Modified: trunk/ui/inplaceInput/src/main/templates/inplaceinput.jspx
===================================================================
--- trunk/ui/inplaceInput/src/main/templates/inplaceinput.jspx 2008-03-27 20:45:58 UTC
(rev 7337)
+++ trunk/ui/inplaceInput/src/main/templates/inplaceinput.jspx 2008-03-27 20:46:18 UTC
(rev 7338)
@@ -25,7 +25,10 @@
<f:clientid var="clientId" />
<jsp:scriptlet>
<![CDATA[
- Object value = component.getValue();
+ Object value = component.getSubmittedValue();
+ if (value == null) {
+ value = component.getValue();
+ }
Object fieldValue = value;
value = getConvertedStringValue(context, component,value);
if (value == null || value.equals("")) {