Re: Decorating XForm textarea

Allan Beaufour <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xml
Message-ID <[email protected]>
Tuesday 18 October 2005 10:51 skrev Adam FLinton:
> The XForm textarea has no properties (at least in styling terms) which
> is fine per se (e.g. height, width etc.)

No, we haven't really looked much on styling yet, I'll give you that.

> 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.

I'm not sure I'm following you. Please create a bug with a test form, and 
describe the problem and the expected results.

> 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.

Well, xforms:textarea and html:textarea are not equivalent. The rich text 
editors etc. that you want to use are made for html:textarea. I surely would 
like to see them work for xforms too, but when I look at the buglist it 
suddenly does not seem that important :-)

I would like to help in facilitating it, but only with limited time and 
resources. I'm sure we can "hack" something together that works in Firefox, 
but cross-processor will be a bit harder. Though, we might be able to use the 
custom control interface (which should help doing cross-processor stuff) to 
get it working on multiple processors. I'm currently refining it to allow 
that: https://bugzilla.mozilla.org/show_bug.cgi?id=306764

-- 
Allan Beaufour
Linux Software Engineer

Novell, Inc.
Software for the Open Enterprise
www.novell.com/open
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.