wood burning stoves 2.0*
The moose likes Groovy and the fly likes handling html Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "handling html" Watch "handling html" New topic
Author

handling html

Maharaj thak
Greenhorn

Joined: Jul 29, 2010
Posts: 27
Hi All
I am using fck editor plugin.If some body enters some info like

<p>This is my first time here</p>

I want to actually display it a s a paragraph.But if I do something like

texttodisplay.encodeAsHTML()
It shows me
<p>This is my first time here</p>

how can i avoid this

Regards
Mauji Thak
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

don't call encodeAsHTML() on the property.


GenRocket - Experts at Building Test Data
 
jQuery in Action, 2nd edition
 
subject: handling html
 
Similar Threads
checkbox list in struts 2
pass the current object as a parameter to another method?
Data class cached implementation
how the the same operation with "pipe"...
Generics Methods