myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (TOMAHAWK-64) Allow t:htmlTag to support an attributes string.
Date Mon, 23 Jun 2008 19:18:45 GMT

    [ https://issues.apache.org/jira/browse/TOMAHAWK-64?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607353#action_12607353
] 

Leonardo Uribe commented on TOMAHAWK-64:
----------------------------------------

The patch has  a problem

It render this:

    <b>h1</b> tag.<h1></h1>
    <b>h2</b> tag.<h2></h2>
    <b>p</b> tag.<p></p>

    <b>i</b> tag.<i></i>

code:

    <t:htmlTag value="h1"><b>h1</b> tag.</t:htmlTag>
    <t:htmlTag value="h2"><b>h2</b> tag.</t:htmlTag>
    <t:htmlTag value="p"><b>p</b> tag.</t:htmlTag>
    <t:htmlTag value="i"><b>i</b> tag.</t:htmlTag>

I'll take a look to see what is missing.

> Allow t:htmlTag to support an attributes string.
> ------------------------------------------------
>
>                 Key: TOMAHAWK-64
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-64
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Html Tag
>            Reporter: Michael Rimov
>            Priority: Minor
>         Attachments: htmltag_param_feature.patch
>
>
> I would really like to see <t:htmlTag> to allow html attributes to be passed into
the html tag.
> A concrete example:
> <td colspan="2">
> Hello World
> </td>   
> Would Ideally (to me) be converted to:
> <t:htmlTag value="td" attributes="colspan='2'">
>    <h:outputText value="Hello World"/>
> </t:htmlTag>
> Thanks! :)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message