[richfaces-svn-commits] JBoss Rich Faces SVN: r14661 - in branches/community/3.3.X/ui/inplaceInput/src/main: templates and 1 other directory.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Fri Jun 19 07:55:50 EDT 2009


Author: konstantin.mishin
Date: 2009-06-19 07:55:50 -0400 (Fri, 19 Jun 2009)
New Revision: 14661

Modified:
   branches/community/3.3.X/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
   branches/community/3.3.X/ui/inplaceInput/src/main/templates/inplaceinput.jspx
Log:
RF-7397

Modified: branches/community/3.3.X/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
===================================================================
--- branches/community/3.3.X/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js	2009-06-18 17:50:41 UTC (rev 14660)
+++ branches/community/3.3.X/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js	2009-06-19 11:55:50 UTC (rev 14661)
@@ -15,6 +15,7 @@
 		this.tempValueKeeper = $(clientId + "tempValue");
 		this.valueKeeper = $(clientId + "value");
 		this.attributes = {
+				defaultLabel : "\u00a0\u00a0\u00a0",
 				editEvent : "onclick",
 				verticalPosition : "center",
 				horizontalPosition : "right",

Modified: branches/community/3.3.X/ui/inplaceInput/src/main/templates/inplaceinput.jspx
===================================================================
--- branches/community/3.3.X/ui/inplaceInput/src/main/templates/inplaceinput.jspx	2009-06-18 17:50:41 UTC (rev 14660)
+++ branches/community/3.3.X/ui/inplaceInput/src/main/templates/inplaceinput.jspx	2009-06-19 11:55:50 UTC (rev 14661)
@@ -177,7 +177,7 @@
 				 ]]>
 			</jsp:scriptlet>
 			<c:scriptObject var="attributes">
-				<c:scriptOption name="defaultLabel" value="#{this:getDefaultLabel(context, component)}" />
+				<c:scriptOption name="defaultLabel" value="#{this:getDefaultLabel(context, component)}" defaultValue="\u00a0\u00a0\u00a0" />
 				<c:scriptOption attributes="showControls, selectOnEdit, inputWidth" />
 				<c:scriptOption attributes="editEvent" defaultValue="onclick"/>
 				<c:scriptOption name="verticalPosition" value="#{component.attributes['controlsVerticalPosition']}" defaultValue="center" />




More information about the richfaces-svn-commits mailing list