Author: dmorozov
Date: 2008-12-09 06:48:08 -0500 (Tue, 09 Dec 2008)
New Revision: 11660
Modified:
trunk/ui/inplaceSelect/src/main/java/org/richfaces/renderkit/InplaceSelectBaseRenderer.java
Log:
https://jira.jboss.org/jira/browse/RF-4343
Modified:
trunk/ui/inplaceSelect/src/main/java/org/richfaces/renderkit/InplaceSelectBaseRenderer.java
===================================================================
---
trunk/ui/inplaceSelect/src/main/java/org/richfaces/renderkit/InplaceSelectBaseRenderer.java 2008-12-09
11:10:01 UTC (rev 11659)
+++
trunk/ui/inplaceSelect/src/main/java/org/richfaces/renderkit/InplaceSelectBaseRenderer.java 2008-12-09
11:48:08 UTC (rev 11660)
@@ -96,7 +96,7 @@
List<SelectItem> selectItems = SelectUtils.getSelectItems(context,
inplaceSelect);
for (SelectItem selectItem : selectItems) {
String value = getConvertedStringValue(context, inplaceSelect,
selectItem.getValue());
- String label = selectItem.getLabel();
+ String label = selectItem.getLabel().trim();
labels.add(label);
encodeSuggestion(context, inplaceSelect, label, RICH_INPLACE_SELECT_CLASSES);
Object[] child = new Object[2];