Author: sdzmitrovich
Date: 2007-11-05 12:46:14 -0500 (Mon, 05 Nov 2007)
New Revision: 4716
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/calendar/calendar.css
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesCalendarTemplate.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1247
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/calendar/calendar.css
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/calendar/calendar.css 2007-11-05
17:45:17 UTC (rev 4715)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/calendar/calendar.css 2007-11-05
17:46:14 UTC (rev 4716)
@@ -140,6 +140,10 @@
vertical-align: middle;
}
+.rich-calendar-popupinput {
+ vertical-align: middle;
+}
+
.rich-calendar-today {
background-color: #ff7800; /*unknown parameter - need to add*/
color: #ffebda; /*unknown parameter - need to add*/
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesCalendarTemplate.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesCalendarTemplate.java 2007-11-05
17:45:17 UTC (rev 4715)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesCalendarTemplate.java 2007-11-05
17:46:14 UTC (rev 4716)
@@ -133,6 +133,7 @@
+ (CALENDAR_WIDTH - CALENDAR_IMAGE_WIDTH) + "px;");
input.setAttribute(HtmlComponentUtil.HTML_TYPE_ATTR, ATTRIBUTE_TEXT);
input.setAttribute(HtmlComponentUtil.HTML_READONLY_ATTR, "true");
+ input.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR,
"rich-calendar-popupinput");
String value = source.getAttribute(HtmlComponentUtil.HTML_VALUE_ATTR);
if (value != null) {
input.setAttribute(HtmlComponentUtil.HTML_VALUE_ATTR, value);