Introduction JSF supports parameter substitution out-of-the-box, but only so far as using numbered indices, which aren’t insanely easy to read or remember. For example,
1 2 3 4 |
<h:outputFormat value="{0} comes out as {1}"> <f:param value="This"/> <f:param value="That"/> </h:outputFormat> |
This outputs “This comes out as that.” – fine for your everyday message, but when…