aspose file tools*
The moose likes Portals and Portlets and the fly likes Saffari browser does not support the html content on textarea Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Saffari browser does not support the html content on textarea" Watch "Saffari browser does not support the html content on textarea" New topic
Author

Saffari browser does not support the html content on textarea

jayaganesh marappan
Greenhorn

Joined: Apr 15, 2008
Posts: 5
hi. here i used jsf form & text area with this tag: <h:inputTextarea id="formtext" value="#{formmanager.optinForm.formContent}" cols="100" rows="10"/>
the value of this text area is html content.In that html content also having tags like <textarea></textarea> and some other tags&contents.So saffari browser parsing inner html content so outer textarea tag will end with close tag of the inner html content textarea end tag </textarea>.so i cant display remaining html content on text area.

can any one help me to solve this problem.
Jonas X. Yuan
author
Ranch Hand

Joined: May 18, 2008
Posts: 108
Hi

You may try other browsers.

Liferay Portal tries to support any browser.


Books: Liferay Portal 6.1 Systems Development
jayaganesh marappan
Greenhorn

Joined: Apr 15, 2008
Posts: 5
Hi, I tried Internet Explorer, Opera, camino,Mozilla all browsers are working properly . saffari browser only problem.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41905
    
  63
So you want to display the literal text "<textarea>" in the textarea? Have you tried escaping the angular brackets by their "&#...;" equivalents (which are &#060; and &#062;) ?
[ June 01, 2008: Message edited by: Ulf Dittmer ]

Ping & DNS - my free Android networking tools app
jayaganesh marappan
Greenhorn

Joined: Apr 15, 2008
Posts: 5
I tried to escape those angular braces,but mozilla does not supporting that ascii vlues.Even i should show preview of inner html content what text area contain.can suggest some other way..
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Saffari browser does not support the html content on textarea