richfaces - rich:editor formatting -


i using rich:editor create content in application. storing content data in string property in backend bean , persisting database using hibernate. problem whenever applying formatting style alos coming content , stored database. want save data in html formate , view again in rich:modalpanel. please help.

eg. can use

  h:outputtext value="#{question.qtext}" escape="false"  

the value="#{question.qtext}" text stored html :). , escape="false" rest.


Comments

Popular posts from this blog

haskell - Using filter on an item in a list? -

tomcat6 - Exception when stopping container for a with Spring + Quartz + Tomcat web application -

c# - Binding attached property to IEnumerable -