Solved

Text in Textareas

Posted on 2011-03-08
7
250 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

 

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

Put Machine Learning to Work--Protect Your Clients

Machine learning means Smarter Cybersecurity™ Solutions.
As technology continues to advance, managing and analyzing massive data sets just can’t be accomplished by humans alone. It requires huge amounts of memory and storage, as well as high-speed processing of the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
enable compression/gzip on oracle XML DB HTTP Server 3 588
SWF Flex project to Adobe Flash builder 5 1,044
Adobe Error Message - kenlly.dll 7 681
Querying XML Data Type 4 561
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…
Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
Suggested Courses

734 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