Author: pyaschenko
Date: 2011-01-25 12:12:42 -0500 (Tue, 25 Jan 2011)
New Revision: 21222
Modified:
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/Autocomplete.ecss
trunk/ui/input/ui/src/main/templates/autocomplete.template.xml
Log:
http://jira.jboss.com/jira/browse/RF-9559
Modified:
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/Autocomplete.ecss
===================================================================
---
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/Autocomplete.ecss 2011-01-25
16:49:29 UTC (rev 21221)
+++
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/Autocomplete.ecss 2011-01-25
17:12:42 UTC (rev 21222)
@@ -7,6 +7,8 @@
input.rf-au-inp {
border-width: 0px;
width: 100%;
+ padding-left: 0px;
+ padding-right: 0px;
}
.rf-au-fld{
@@ -22,6 +24,10 @@
background-color: '#{richSkin.controlBackgroundColor}';
}
+.rf-au-fld-btn{
+ position : relative; overflow : hidden; text-align : left; padding-right : 21px;
+}
+
.rf-au-btn{
background-image:
"url(#{resource['org.richfaces.renderkit.html.images.AutocompleteButtonGradient']})";
background-repeat: repeat-x;
Modified: trunk/ui/input/ui/src/main/templates/autocomplete.template.xml
===================================================================
--- trunk/ui/input/ui/src/main/templates/autocomplete.template.xml 2011-01-25 16:49:29 UTC
(rev 21221)
+++ trunk/ui/input/ui/src/main/templates/autocomplete.template.xml 2011-01-25 17:12:42 UTC
(rev 21222)
@@ -16,8 +16,8 @@
<cc:implementation>
<cdk:object type="java.lang.Object" name="disabled"
value="#{component.attributes['disabled']}" />
<div id="#{clientId}" class="rf-au-fld">
- <input id="#{clientId}Value" name="#{clientId}Value"
type="hidden" class="rf-au-fnt rf-au-inp" />
- <div style="position : relative; overflow : hidden; text-align :
left; padding-right : 21px;">
+ <input id="#{clientId}Value" name="#{clientId}Value"
type="hidden"/>
+ <div class="#{component.attributes['showButton'] ?
'rf-au-fld-btn' : ''}">
<input onclick="#{component.attributes['onclick']}"
ondblclick="#{component.attributes['ondblclick']}"
onmouseup="#{component.attributes['onmouseup']}"