Hi
I have to render my html code snippet at run time and include it on my
jsf page (.xhtml) My code template would be stored in db and I have to get and show it on display.
1) I am rendering the code from the db and setting it to a
string field in the model
2) on jsf (.xhtml) page i am using like this <h:outputText value="#{model.htmlContent}" escape="false" />
but instead of rendering the page its not able to resolve the tags in the content and so not rendering it properly
for example <h:panelGrid><h<tw:inputText name="userName /></h:panelGrid> is not transformed in run time
if instead if i use <div><input type="text" name="userName" /></div> its rendered properly and i can see text box on the screen.
I guess jsf is not transforming it properly in run time
Is there any solution or work around for this?
Thanks
Sudharshan Tettu.