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 2023/01/11 11:36:00 UTC
[jira] [Commented] (TOBAGO-2177) Add support for f:param to tc:out
[ https://issues.apache.org/jira/browse/TOBAGO-2177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17672327#comment-17672327 ]
Udo Schnurpfeil commented on TOBAGO-2177:
-----------------------------------------
Why not using something like this:
{code}
<tc:out value="First Name: #{bean.firstName}, Last Name: #{bean.lastName}"/>
{code}
> Add support for f:param to tc:out
> ---------------------------------
>
> Key: TOBAGO-2177
> URL: https://issues.apache.org/jira/browse/TOBAGO-2177
> Project: MyFaces Tobago
> Issue Type: Improvement
> Components: Core
> Affects Versions: 5.3.0
> Reporter: Carsten Dimmek
> Priority: Minor
> Fix For: 5.x
>
>
> Theres is an h:outputformat component where you can use a MessageFormat with f:param to create a formatted message.
>
> {code:java}
> <h:outputFormat value="param0 : {0}, param1 : {1}" >
> <f:param value="Number 1" />
> <f:param value="Number 2" />
> </h:outputFormat>
> {code}
> It would be nice if the tc:out component would support a similar behaviour.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)