05-30-2012 08:13 AM - last edited on 05-30-2012 08:41 AM by gbeukeboom
It is not possible to use HTML directly to modify the contents of a TextArea, however, you may apply styling using TextStyles. Note that TextStyles are only applied to the entire contents of TextAreas at once.
What is it exactly that you want to achieve?
05-30-2012 10:56 AM
This is actually a common situation that it would be nice to have a solution for. Basically, you want to use rich-text stylings (and/or hyperlinking) within a block of user-displayed text, without embedding a whole browser engine (i.e. WebView).
The current BBOS platform makes a broken attempt at getting you half-way there with RichTextField, but there still really isn't a good solution. It would be nice to have a component (which obviously doesn't publicly exist yet) in the Cascades API to provide something like this.
05-31-2012 11:59 AM
I can definitely see the use of what you are suggesting as a standard feature for text areas. I would recommend posting a new feature request in the Issue Tracker by following the link below:
05-31-2012 12:02 PM
I would be interested in understanding the context of what you are trying to achieve. This could help us guide you better towards a solution that will work for you.
06-01-2012 11:57 AM
I have to display text in which one or more words will be bold, italic or cursive depending. Also the ability to format the text with different font, size and or color. Something that can easily be accomplished using Java. This helps my app audience have a great experience instead of plain text.
06-04-2012 10:30 AM
Unfortunately, this cannot be done at the moment using Cascades. Depending on the nature of your application, If you require heavy use of formatting and customization, you can have a look at Webworks and use HTML5 to format text in your web application. You can have a look at WebWorks here: