[
https://issues.apache.org/jira/browse/TOMAHAWK-64?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12611509#action_12611509
]
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 say:
"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."
See:
http://myfaces.apache.org/core12/myfaces-api/apidocs/javax/faces/component/UIComponentBase.html#getRendersChildren()
Or do I misunderstand something here?
> 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
> 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.