[
https://issues.apache.org/jira/browse/TOMAHAWK-64?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607301#action_12607301
]
Christian Kaltepoth commented on TOMAHAWK-64:
---------------------------------------------
I think Vytauta's idea of nested <f:param> tags for <t:htmlTag> can be very
useful for people working with legacy JSF 1.1 w/ JSP applications.
And I also think, that the number of voters for this issue proves this. :-)
I implemented this feature and attached a patch against current tomahawk trunk.
The patch also includes updated documentation and a small example for
myfaces-example-simple.
> 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.