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

[myfaces-tobago] branch tobago-2.0.x updated: TOBAGO-1838 - Tobago 2: tc:menu should render dataAttributes

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

weber pushed a commit to branch tobago-2.0.x
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


The following commit(s) were added to refs/heads/tobago-2.0.x by this push:
     new 4474530  TOBAGO-1838 - Tobago 2: tc:menu should render dataAttributes
4474530 is described below

commit 44745306caebd6712b74f719fdc0f40ff384af41
Author: Volker Weber <v....@inexso.de>
AuthorDate: Wed Jan 3 10:00:56 2018 +0100

    TOBAGO-1838 - Tobago 2: tc:menu should render dataAttributes
---
 .../tobago/renderkit/html/standard/standard/tag/MenuRenderer.java        | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/MenuRenderer.java b/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/MenuRenderer.java
index 1bfb65e..5a9b5c2 100644
--- a/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/MenuRenderer.java
+++ b/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/MenuRenderer.java
@@ -112,6 +112,7 @@ public class MenuRenderer extends LayoutComponentRendererBase {
       AccessKeyLogger.addAccessKey(facesContext, label.getAccessKey(),
           component.isTransient() ? null : component.getClientId(facesContext));
     }
+    HtmlRendererUtils.writeDataAttributes(facesContext, writer, menu);
 
     HtmlRendererUtils.writeLabelWithAccessKey(writer, label);
 

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