Solved

Text in Textareas

Posted on 2011-03-08
7
247 Views
Last Modified: 2012-05-11
hi guys
I have lot of textarea boxes in my project where users would enter lot of text data.
The data can go up to 50 to 75 lines. I want the users to be able to format the data so i want to provide them with options like
Bold, Bullet points and Italics. Is there any open source code i can reuse to impliment this feature. The goal is to make the user
experience entering text in textareas easy and fun.

Any helpw will be greatly appreciated.

Thanks
0
Comment
Question by:royjayd
  • 4
  • 3
7 Comments
 
LVL 37

Expert Comment

by:zzynx
ID: 35070911
What about using the RichTextEditor control?
Cf. http://livedocs.adobe.com/flex/3/html/help.html?content=textcontrols_10.html
0
 

Author Comment

by:royjayd
ID: 35071449
cool that was easy :) wonder why i dint find this before.
apart from this have you worked with or seen fancy textareas, by fancy i mean anything the user is attaracted to or likes to see.  the reason i ask this is because i have like 20 text areas and if i put them
all one below the other the screen kinda looks boring. I want to make it more intresting.
thanks.
0
 
LVL 37

Expert Comment

by:zzynx
ID: 35080173
If you talk about fancy looks than you're talking about skinning/styling components.
Like in: http://www.adobe.com/devnet/flex/articles/skins_styles.html and http://devgirl.org/2009/11/09/guide-to-skinning-your-flex-4-application-or-air-application/
You can of course use third party components too. Like eg. http://www.scalenine.com/gallery/
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:royjayd
ID: 35118421
Just a question, if i use the  RichTextEditor, will the formatting of the text remain when i retrieve the data?
I am using java in the backend to save the data and retrieve the data.

thanks
0
 
LVL 37

Accepted Solution

by:
zzynx earned 500 total points
ID: 35132843
I'm not sure if I get your question right:
The RichTextEditor has a property 'htmlText'
The documentation says:
The htmlText property always returns a String containing HTML markup that represents the current text formatting.

So if you get that property, store it and afterwards set it again, you' ll have the same formatting.
0
 

Author Comment

by:royjayd
ID: 35190948
Can you please help me out with my next question. It looks simple but i am kinda stuck...thanks

http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/Flex/Q_26903600.html
0
 
LVL 37

Expert Comment

by:zzynx
ID: 35199616
Thanx 4 axxepting
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
A Short Story about the Best File Recovery Software – Acronis True Image 2017
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now