Author: dmaliarevich
Date: 2008-02-11 06:03:20 -0500 (Mon, 11 Feb 2008)
New Revision: 6227
Modified:
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-1682, header and footer updated
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 2008-02-11
10:45:01 UTC (rev 6226)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesCalendarTemplate.java 2008-02-11
11:03:20 UTC (rev 6227)
@@ -354,12 +354,12 @@
nsIDOMElement header = createCalendarHeader(visualDocument);
nsIDOMElement calendarBody = createCalendarBody(visualDocument);
- if (null != headerFacet) {
+ if (null != optionalHeader) {
tbody.appendChild(optionalHeader);
}
tbody.appendChild(header);
tbody.appendChild(calendarBody);
- if (null != headerFacet) {
+ if (null != optionalFooter) {
tbody.appendChild(optionalFooter);
}
@@ -381,12 +381,8 @@
if (isHeader) {
td.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, CSS_R_C_HEADER_OPTIONAL);
- //td.appendChild(visualDocument
- // .createTextNode("header Here->"));
} else {
td.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR, CSS_R_C_FOOTER_OPTIONAL);
- td.appendChild(visualDocument
- .createTextNode("footer Here->"));
}
VpeChildrenInfo child = new VpeChildrenInfo(td);