Author: abelevich
Date: 2008-06-09 08:31:13 -0400 (Mon, 09 Jun 2008)
New Revision: 8956
Modified:
trunk/ui/suggestionbox/src/main/java/org/richfaces/renderkit/html/SuggestionBoxRenderer.java
Log:
http://jira.jboss.com/jira/browse/RF-3481
Modified:
trunk/ui/suggestionbox/src/main/java/org/richfaces/renderkit/html/SuggestionBoxRenderer.java
===================================================================
---
trunk/ui/suggestionbox/src/main/java/org/richfaces/renderkit/html/SuggestionBoxRenderer.java 2008-06-09
11:35:56 UTC (rev 8955)
+++
trunk/ui/suggestionbox/src/main/java/org/richfaces/renderkit/html/SuggestionBoxRenderer.java 2008-06-09
12:31:13 UTC (rev 8956)
@@ -486,20 +486,20 @@
final FacesContext facesContext,
final UIComponent component) {
super(renderer, facesContext, component);
- if (component.getFacet("head") != null) {
+
+
+
+ if (component.getFacet("header") != null) {
this.putParameter("hasHead", Boolean.TRUE);
}
- if (component.getFacet("head") != null) {
- this.putParameter("hasHead", Boolean.TRUE);
- }
- // Fill child columns components
+ // Fill child columns components
columns = new ArrayList(component.getChildCount());
for (Iterator iter = component.getChildren().iterator(); iter
.hasNext();) {
UIComponent column = (UIComponent) iter.next();
if (column instanceof UIColumn) {
columns.add(column);
- if (column.getFacet("head") != null) {
+ if (column.getFacet("header") != null) {
this.putParameter("hasHead", Boolean.TRUE);
this.putParameter("hasColumnHead", Boolean.TRUE);
}