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/15 23:56:18 UTC
svn commit: r612282 -
/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIDatePicker.java
Author: bommel
Date: Tue Jan 15 14:56:16 2008
New Revision: 612282
URL: http://svn.apache.org/viewvc?rev=612282&view=rev
Log:
(TOBAGO-596) Duplicate component Id exception with tc:date and tx:date with facelets
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=612282&r1=612281&r2=612282&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 Tue Jan 15 14:56:16 2008
@@ -206,6 +206,7 @@
buttonPanel.setId("buttonPanel");
layout = ComponentUtil.createComponent(
facesContext, UIGridLayout.COMPONENT_TYPE, RENDERER_TYPE_GRID_LAYOUT);
+ layout.setId("buttonPanelLayout");
buttonPanel.getFacets().put(FACET_LAYOUT, layout);
layout.getAttributes().put(ATTR_COLUMNS, "*;*");
// layout.getAttributes().put(TobagoConstants.ATTR_BORDER, "1");