Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
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
 
wood burning stoves
 
subject: handling html
 
Similar Threads
pass the current object as a parameter to another method?
checkbox list in struts 2
Data class cached implementation
how the the same operation with "pipe"...
Generics Methods