You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org> on 2012/08/01 14:25:03 UTC

[jira] [Resolved] (TOBAGO-1187) new tag tc:dataAttribute for HTML5 data-*

     [ https://issues.apache.org/jira/browse/TOBAGO-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Udo Schnurpfeil resolved TOBAGO-1187.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.8
    
> new tag tc:dataAttribute for HTML5 data-*
> -----------------------------------------
>
>                 Key: TOBAGO-1187
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1187
>             Project: MyFaces Tobago
>          Issue Type: New Feature
>            Reporter: Udo Schnurpfeil
>            Assignee: Udo Schnurpfeil
>             Fix For: 1.5.8, 1.6.0
>
>
> This tag should enable the application developer to put data into the client DOM.
> These data attributes can be used by scripts like JavaScript.
> The tag has two attributes:
>   1. name
>   2. value
> The Tobago renderers will render an attribute with the name: "data-" + name
> in the main element of the DOM (this one, which hold the id of the component).
> The value of the attribute will be passed through. 
> Inside of tx: components (for labels) the input-component will get the data attributes.
> This tag should work compatible the the f:dataAttribute in JSF 2.2

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira