Author: abelevich
Date: 2008-08-26 11:42:18 -0400 (Tue, 26 Aug 2008)
New Revision: 10195
Modified:
trunk/ui/inplaceSelect/src/main/config/component/inplaceselect.xml
trunk/ui/inplaceSelect/src/main/java/org/richfaces/renderkit/InplaceSelectBaseRenderer.java
Log:
https://jira.jboss.org/jira/browse/RF-4244
Modified: trunk/ui/inplaceSelect/src/main/config/component/inplaceselect.xml
===================================================================
--- trunk/ui/inplaceSelect/src/main/config/component/inplaceselect.xml 2008-08-26 15:11:46
UTC (rev 10194)
+++ trunk/ui/inplaceSelect/src/main/config/component/inplaceselect.xml 2008-08-26 15:42:18
UTC (rev 10195)
@@ -67,7 +67,7 @@
<name>defaultLabel</name>
<classname>java.lang.String</classname>
<description>The attribute is used to display text while value is
undefined</description>
-
<defaultvalue>"   "</defaultvalue>
+ <defaultvalue>"\u00a0\u00a0\u00a0"</defaultvalue>
</property>
<property>
<name>showControls</name>
Modified:
trunk/ui/inplaceSelect/src/main/java/org/richfaces/renderkit/InplaceSelectBaseRenderer.java
===================================================================
---
trunk/ui/inplaceSelect/src/main/java/org/richfaces/renderkit/InplaceSelectBaseRenderer.java 2008-08-26
15:11:46 UTC (rev 10194)
+++
trunk/ui/inplaceSelect/src/main/java/org/richfaces/renderkit/InplaceSelectBaseRenderer.java 2008-08-26
15:42:18 UTC (rev 10195)
@@ -30,7 +30,7 @@
//TODO: move duplicate constants to superclass
private static final String RICH_INPLACE_SELECT_CLASSES =
"rich-inplace-select-item rich-inplace-select-font";
private static final String CONTROLS_FACET = "controls";
- private static final String EMPTY_DEFAULT_LABEL =
"   ";
+ private static final String EMPTY_DEFAULT_LABEL = "\u00a0\u00a0\u00a0";
@Override
protected void doDecode(FacesContext context, UIComponent component) {