| Author |
How to fix number of charaters in a line inside inputTextArea widget
|
Nrapendra Sharma
Ranch Hand
Joined: Jun 16, 2008
Posts: 31
|
|
I want to have automatic linebreak after 50 characters inside a InputTextarea
I tried using "cols" but it sets the width i guess.
How can i implement it ??
|
Regards,
Nrapendra Sharma
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14561
|
|
Don't expect too much happiness. The inputTextArea is just a wrapper for the HTML TEXTAREA control and I don't think you'll find that option in the HTML RFC.
One of the smarter (JavaScript-based) JSF extension tags might be able to handle that, but I don't know.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
Hebert Coelho
Ranch Hand
Joined: Jul 14, 2010
Posts: 754
|
|
|
Try with cols and no scroll bar. It might work.
|
[uaiHebert.com] [Full WebApplication JSF EJB JPA JAAS with source code to download] One Table Per SubClass [Web/JSF]
|
 |
 |
|
|
subject: How to fix number of charaters in a line inside inputTextArea widget
|
|
|