W3C home > Mailing lists > Public > www-forms@w3.org > July 2001

RE: textbox vs. textarea

From: Josef Dietl <josef@mozquito.com>
Date: Tue, 17 Jul 2001 12:54:30 +0200
Message-ID: <D0F1529EE943B3449F755CA1A40887460FC01D@winserver.windomain.mozquito.com>
To: "Roman Huditsch" <r.huditsch@hico.com>, <www-forms@w3.org>
Hi Roman,

as per yesterday's telephone conference, I am temporary officially
responsible to organize the information flow between this mailing list
and the XForms Working Group. Please consider the reply given below my
personal opinion until it is confirmed by the Working Group next Monday.

To answer your question: No, there is no way to declare that a textbox
has rows=10 and cols=50. This mechanism of specifying sizes has turned
out to be inflexible to say the least. ("Unreliable" is another term
that comes to mind.) Main difficulties were charset dependencies and
internationalization concerns.

We have settled to define the size of the textbox through the usual CSS
mechaisms and the constraints (length, allowed characters etc.) in the
model. As far as I know, you can approximate the "old" effect by
specifying <textbox style="width:50ex; height:10em" ...>. Other units
(e.g. cm or %) will obviously be more reliable.
The remaining open question that we are aware of is how to specify
wrapping / non-wrapping boxes. If there is more to do or the solution is
unsatisfactory for you, please let us now.

I will confirm or correct this message around 24 July.


> -----Original Message-----
> From: Roman Huditsch [mailto:r.huditsch@hico.com]
> Sent: Tuesday, July 17, 2001 12:18 PM
> To: www-forms@w3.org
> Subject: textbox vs. textarea
> Hi again!
> Reading the specification again, I missed the possibility of 
> declaring a
> textarea as in HTML. Is ther a way in Xforms to display a 
> textbox, which
> has for example rows=10, cols=50 ?
> Thanks and best regards,
> Roman
> > Roman Huditsch (RH ) 
> > 
> _____________________________________________________________________
> > hico Informations- und Kommunikations-Management Gesellschaft m.b.H.
> > TechLab, Thomas A. Edison Straße 2.
> > A-7000 Eisenstadt / Austria
> > phone: +43/2682/704-61-00; fax: +43/2682/704-71-61-10
> > e-mail:support@hico.com;  r.huditsch@hico.com
> > 
> > 
Received on Tuesday, 17 July 2001 06:54:32 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:04 UTC