You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2008/01/07 16:09:05 UTC

svn commit: r609629 - /myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIDatePicker.java

Author: bommel
Date: Mon Jan  7 07:08:56 2008
New Revision: 609629

URL: http://svn.apache.org/viewvc?rev=609629&view=rev
Log:
(TOBAGO-582) DatePickerRenderer writes unopen a tag if dateInput is missing

Modified:
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIDatePicker.java

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIDatePicker.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIDatePicker.java?rev=609629&r1=609628&r2=609629&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIDatePicker.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIDatePicker.java Mon Jan  7 07:08:56 2008
@@ -151,7 +151,7 @@
     //int popupHeight = ThemeConfig.getValue(facesContext, link, "CalendarPopupHeight");
     //attributes.put(ATTR_HEIGHT, String.valueOf(popupHeight));
     final UIComponent box = ComponentUtil.createComponent(
-        facesContext, UIPanel.COMPONENT_TYPE, RENDERER_TYPE_BOX);
+        facesContext, UIBox.COMPONENT_TYPE, RENDERER_TYPE_BOX);
     popup.getChildren().add(box);
     box.setId("box");
     // TODO: set string resources in renderer