jsp - Save h:outputFormat result to a variable -


currently getting labels resource bundle via

<h:outputformat value="#{labels['key']}">    <f:param value="my param1"/>    <f:param value="my param2"/> </h:outputformat> 

but how save in variable can use inline like

<i data-original-title="#{mylabel}"></i> 

i looking like

<h:outputformat var="mylabel" value="#{labels['key']}">    <f:param value="my param1"/>    <f:param value="my param2"/> </h:outputformat> 

but doesn't seem work

you can use omnifaces extension of outputformat: http://showcase.omnifaces.org/components/outputformat


Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -