Decorating XForm textarea

Dear All,

The XForm textarea has no properties (at least in styling terms) which
is fine per se (e.g. height, width etc.) 

However an implementation should be able to wrap those properties around
the xform element as otherwise lots of things go to pieces. For example
most JavaScript textarea editors will fail or have to be doctored as
they get back null from requesting the width/height etc of this
"textarea".

It also messes up tables containing textareas as while you can have some
css such as:

textarea
{
   width: 100%;
}

that will only work on the assumption there is some textarea.width to
set.

As a result if doing a repeat in XForms to populate a table, the edges
of the table snake down the page & the textarea assumes the default
(usually fairly small) size unless it is filled by a string which has a
greater length in which case it is that length.

Implementations should implement this is a transparent to the Xform
designer way.

i.e. if the Xform plugin has loaded the XML/XHTML & has then delivered
the "XHTML" to the next stage (e.g. JavaScript scripts) then the XHTML
should be capable of holding std XHTML properties from that stage on.
e.g. as far as any Javascript or css should see there should be the std
textarea properties which they can then set/manipulate/draw information
from.

Adam

This e-mail is confidential and privileged. If you are not the intended recipient please accept our apologies; please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents: to do so is strictly prohibited and may be unlawful. Please inform us that this message has gone astray before deleting it. Thank you for your co-operation.

Received on Tuesday, 18 October 2005 08:54:29 UTC