A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
How to fix number of charaters in a line inside inputTextArea widget
Joined: Jun 16, 2008
Dec 16, 2010 00:24:08
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 ??
Joined: Jun 25, 2001
Dec 16, 2010 06:33:45
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.
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.
Joined: Jul 14, 2010
Dec 16, 2010 10:53:43
Try with cols and no scroll bar. It might work.
Full WebApplication JSF EJB JPA JAAS with source code to download
One Table Per SubClass
I agree. Here's the link:
- it saves me about five hours per week
subject: How to fix number of charaters in a line inside inputTextArea widget
inputTextArea limit characters
Usage of inputTextarea in JSF
Need inputTextArea functionality + escape="false"
InputText and InputTextArea value null when inside a DataTable
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013