I have this piece a code in a XHTML document associate to myView bean.
<p:outputtext value="#{myView.getDynamicContent()}" />
The method getDynamicContent() returns text that sometimes includes another PrimeFaces tag as for example <p:inputMask>.
When the first <p.outputtext> is evaluated, it prints all is returned by method as text and it's not evaluated!
Can I solve this problem or is it not possible?
In case it isn't possible, I thought about replace all <p:inputMask> with <input> tag. In this case how can I recover the value inserted into input tag in the Java view code?