I am trying to display parametrized message in <p:input> 's title attribute:
Code: Select all
<p:inputText ** title="#{msg['m_item_x'].replace('{0}', '1')}" >
Code: Select all
m_item_x=Item {0}
I also tried JSTL's fn tag:
Code: Select all
fn:replace(msg['m_item_x'], '{0}', '1')
May anyone tell me what went wrong? Thanks. Danke.