I am trying to develop something like this:
In a manged bean, there are String properties that are written in an valid HTML fashion, i.e:
String script = "alert(\"hello!!!!!\");";
String div = "Hello!"
And the purpose for these fields is to dynamically put html components onto the .xhtml file. But if these fields are accessed normally it seems they are only added to the page as text. Is there anyway I can achieve these?
Also, since the actual content of these fields can be quite complicated and the design is to be dynamic, just putting the component in the .xhtml is not an option.