I have a custom EL function (defined in myfunctions.taglib.xml ) that returns a piece of HTML, I want to copy it to the end,
myfunctions.taglib.xml
<f:verbatim> #{mylib:generateHtml()} </f:verbatim>
however, the decomposition # {...} is always escaped. How to make him not run away?
I believe there is an option for escape characters with verbatim.
<f:verbatim escape="#{boolean}" />
Use <h:outputText escape="false" /> . <f:verbatim> serves a completely different purpose especially for JSP views and is dangerous for Facelets and is deprecated in JSF 2.0.
<h:outputText escape="false" />
<f:verbatim>
<h:outputText value="#{bean.html}" escape="false" />
Source: https://habr.com/ru/post/1347661/More articles:Does java provide a limited collection - javaHow can this list be enumerated by an iterator of a circuit using call-with-current-continue? - iteratorHelios Eclipse java debugger on Windows very slowly allocates source code - javasquare bracket before class definition in as3 - flashDifference between ColorDrawable and PaintDrawable - androidHow to convert a C ++ structure using a connection in C #? - c ++Code behind DataTemplate in ResourceDictionary - wpfHow does the image bind dynamically to WPF? - c #JavaScript documentation in standardized event browsers - domHttps support using QNetworkAccessManager. Enabling SslErrors at Run Time - qtAll Articles