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

[myfaces-tobago] 03/03: revert revision 613466

This is an automated email from the ASF dual-hosted git repository.

deki pushed a commit to tag tobago-1.0.14
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git

commit 8cbb3329fb8c542cde955c6284b2dade26e99f85
Author: Bernd Bohmann <bo...@apache.org>
AuthorDate: Mon Jan 21 17:32:21 2008 +0000

    revert revision 613466
---
 .../src/main/java/org/apache/myfaces/tobago/component/UIDatePicker.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/main/java/org/apache/myfaces/tobago/component/UIDatePicker.java b/core/src/main/java/org/apache/myfaces/tobago/component/UIDatePicker.java
index 8db1410..f462863 100644
--- a/core/src/main/java/org/apache/myfaces/tobago/component/UIDatePicker.java
+++ b/core/src/main/java/org/apache/myfaces/tobago/component/UIDatePicker.java
@@ -237,7 +237,7 @@ public class UIDatePicker extends UILinkCommand implements OnComponentCreated {
     UIGraphic image = (UIGraphic) ComponentUtil.createComponent(
         facesContext, UIGraphic.COMPONENT_TYPE, RENDERER_TYPE_IMAGE);
     image.setRendered(true);
-    image.setId("image");
+    image.setId(facesContext.getViewRoot().createUniqueId());
     image.setValue("image/date.gif");
     image.getAttributes().put(ATTR_ALT, ""); //TODO: i18n
     StyleClasses.ensureStyleClasses(image).addFullQualifiedClass("tobago-input-picker"); // XXX not a standard name

-- 
To stop receiving notification emails like this one, please contact
"commits@myfaces.apache.org" <co...@myfaces.apache.org>.