File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Change style for block of text in html:textarea Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Change style for block of text in html:textarea" Watch "Change style for block of text in html:textarea" New topic
Author

Change style for block of text in html:textarea

Frank Truong
Ranch Hand

Joined: Nov 19, 2002
Posts: 39
Hi,

Could you give me a hint on how to work with style/font in Struts tags? Specifically, I have been trying to highlight a certain segment of text by wrapping that block of text in a html tag such as <font style="color:yellow"> and </font>. I then pass the wholly furnished string as the value of the value attribute in the html:textarea tag. It does not work.

Please treat me as an Struts beginner.

Thank you very much.
Frank
 
jQuery in Action, 2nd edition
 
subject: Change style for block of text in html:textarea