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

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

javascript - jquery or ashx not working -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -