I have text area   with tinynmce behaviour, so any text  saved from this
textarea will contain html tags to retain format of the text.Now in other
pages I want to display this text as read-only  , for which i get the string
comment text from database and set it to as  model to my  label ,  the
problem is the comment text its getting displayed  as it is showing html
tags and browser is not parsing them ,

for example

add(new Label("comments",new Model<String>(<p>TinyMCE is a platform
independent web </p>));

> once the page is rendered   I am expecting to see  this as  *TinyMCE is a
> platform independent web*  and not   *<p>TinyMCE is a platform independent
> web </p>  , *

please tell me how to  resolve this.

Reply via email to