Author: nbelaevski
Date: 2008-03-28 00:21:04 -0400 (Fri, 28 Mar 2008)
New Revision: 7345
Modified:
trunk/ui/inplaceSelect/src/main/templates/inplaceselect.jspx
Log:
in-place select made compileable
Modified: trunk/ui/inplaceSelect/src/main/templates/inplaceselect.jspx
===================================================================
--- trunk/ui/inplaceSelect/src/main/templates/inplaceselect.jspx 2008-03-28 02:59:55 UTC
(rev 7344)
+++ trunk/ui/inplaceSelect/src/main/templates/inplaceselect.jspx 2008-03-28 04:21:04 UTC
(rev 7345)
@@ -29,9 +29,10 @@
<![CDATA[
Object value = component.getSubmittedValue();
+ Object fieldValue = null;
if(value == null) {
- Object value = component.getAttributes().get("value");
- Object fieldValue = value;
+ value = component.getAttributes().get("value");
+ fieldValue = value;
}
String fieldLabel = getSelectedItemLabel(context, component);
value = getConvertedStringValue(context, component,value);
Show replies by date