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 2007/05/23 22:31:28 UTC

svn commit: r541056 - /myfaces/tobago/tags/tobago-1.0.11/core/src/main/java/org/apache/myfaces/tobago/component/UIDatePicker.java

Author: bommel
Date: Wed May 23 13:31:27 2007
New Revision: 541056

URL: http://svn.apache.org/viewvc?view=rev&rev=541056
Log:
(TOBAGO-406) rendering of DatePicker produces automatic id warning

Modified:
    myfaces/tobago/tags/tobago-1.0.11/core/src/main/java/org/apache/myfaces/tobago/component/UIDatePicker.java

Modified: myfaces/tobago/tags/tobago-1.0.11/core/src/main/java/org/apache/myfaces/tobago/component/UIDatePicker.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/tags/tobago-1.0.11/core/src/main/java/org/apache/myfaces/tobago/component/UIDatePicker.java?view=diff&rev=541056&r1=541055&r2=541056
==============================================================================
--- myfaces/tobago/tags/tobago-1.0.11/core/src/main/java/org/apache/myfaces/tobago/component/UIDatePicker.java (original)
+++ myfaces/tobago/tags/tobago-1.0.11/core/src/main/java/org/apache/myfaces/tobago/component/UIDatePicker.java Wed May 23 13:31:27 2007
@@ -205,6 +205,7 @@
 
     UIComponent buttonPanel = ComponentUtil.createComponent(
         facesContext, UIPanel.COMPONENT_TYPE, RENDERER_TYPE_PANEL);
+    buttonPanel.setId("buttonPanel");
     layout = ComponentUtil.createComponent(
         facesContext, UIGridLayout.COMPONENT_TYPE, RENDERER_TYPE_GRID_LAYOUT);
     buttonPanel.getFacets().put(FACET_LAYOUT, layout);