[ 
https://issues.apache.org/jira/browse/TOBAGO-2177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17675997#comment-17675997
 ] 

Udo Schnurpfeil edited comment on TOBAGO-2177 at 1/12/23 1:00 PM:
------------------------------------------------------------------

I've implemented this (activate with messageFormat="true"):

{code}
<tc:out value="#{demoBundle.message_format_example}" messageFormat="true">
  <f:param value="Mrs"/>
  <f:param value="Smith"/>
</tc:out>
{code}



was (Author: lofwyr):
I've implemented this:

{code}
<tc:out value="#{demoBundle.message_format_example}" messageFormat="true">
  <f:param value="Mrs"/>
  <f:param value="Smith"/>
</tc:out>
{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
>            Assignee: Udo Schnurpfeil
>            Priority: Minor
>             Fix For: 5.5.0
>
>
> 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)

Reply via email to