A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Setting maxsize in textareas?
Joined: Mar 27, 2004
Jun 28, 2004 18:46:00
How do i set a maxsize for text areas with Struts tags?
I looked in the documentation and there's no such tag like maxsize, maxlenght as there's one for inputs.
SCJP 1.4, SCWCD 1.4
Joined: Feb 05, 2003
Jun 29, 2004 10:18:00
This is a limitation of html, not Struts.
A good workman is known by his tools.
Joined: Jan 17, 2001
Jun 29, 2004 17:08:00
Nitin S<br />Sun Certified Java Programmer for the Java 2 platform.<br />Tekmetrics Certified Java Programmer For the Java 2 Platform.
Joined: Mar 15, 2004
Jun 29, 2004 23:00:00
For such a simple and seemingly standard task, I have found this to be very difficult. I've written a workable solution that is (I think) IE-specific, which I hate.
In any case, I'm happy to share it if people want. Does anyone have a solution they consider remotely elegant? Mine is most certainly not.
PS we might get better answers in the HTML forum...
I agree. Here's the link:
subject: Setting maxsize in textareas?
Create an exception
MDB synchronize onMessage
Setting pool size in DBCP for connection pooling?
java.lang.NullPointerException at runtime
Changing Hibernate configuration properties programmatically
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014