myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Kaltepoth (JIRA)" <>
Subject [jira] Commented: (TOMAHAWK-64) Allow t:htmlTag to support an attributes string.
Date Tue, 08 Jul 2008 10:14:48 GMT


Christian Kaltepoth commented on TOMAHAWK-64:

This was necessary to access the <f:param> child components.

I'm using HtmlComponentUtils.getParamterMap() that iterates over all child components.
In my test setup (core-1.1 with JSP) this map only contained values when the component
rendered its children.

I thought this is expected behavior at least when using JSP. The javadocs of UIComponentBase
"When this is true [getRendersChildren()]: This component's encodeBegin method will only be

called after all the child components have been created and added to this component."


Or do I misunderstand something here?

> Allow t:htmlTag to support an attributes string.
> ------------------------------------------------
>                 Key: TOMAHAWK-64
>                 URL:
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Html Tag
>            Reporter: Michael Rimov
>            Assignee: Leonardo Uribe
>            Priority: Minor
>             Fix For: 1.1.7-SNAPSHOT
>         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.

View raw message