Dear All,
I need your help. I want to render a long HTML string from a resource bundle, which requires 8 parameters.
If I use <h:outputFormat> than I can pass all the 8 parameters, however this component doesn't render HTML string.
So, my next alternative is <af:outputFormatted> with af:format(), af:format2(), af:format3(), af:format4() which accept 1, 2, 3, 4 parameters respectively, however none of them accepts 8 parameters. So, I split the HTML string into two pieces and used two <af:outputFormatted> components (each passing 4 arguments) to render the HTML string.
<af:outputFormatted id="of1" value="#{af:format4(p0,p1,p2,p3,p4)"/>
I don't want to split the HTML string and want to use only one <af:outputFormatted> component. How can I achieve this?
Thanks in advance.