On 11/25/08, Rainer Schöpf <[EMAIL PROTECTED]> wrote: > On Tue, 25 Nov 2008, [EMAIL PROTECTED] wrote: > > Few users will notice a space in an empty TEXTAREA. Either selecting > > the field selects the space so it is overwritten or the space remains > > at the end of their input. Most applications should trim the input to > > remove extra spaces from the application or user. > That's not my point. "Users" in this context are the editors. The problem ist > that you _must not_ create an empty textarea if you want to be able to use > or even only edit it. > > I agree that it doesn't matter for the final form.
Different architectures. Mine requires TEXTAREAs to exist so the RichText editor (Xinha) knows where to display. > > No, the default HTMLSerializer does not produce HTML acceptable by > > most browsers. Your current problem and many other frustrations occur > > because the HTMLSerializer collapses empty elements. > Interestingly, this is not what I see, when I use > <map:serialize type="html"/> > in sitemap.xmap (in lenya 2.02). Both Lenya 1.2 and 2.0 use: org.apache.cocoon.components.serializers.HTMLSerializer Lenya 2.0 adds this parameter: <doctype-default>loose</doctype-default> > Instead, I get this HTML code: > <TABLE> > <TR> > <TD valign="top">Thema:</TD> > <TD> > <TEXTAREA cols="60" name="thema" rows="3"></TEXTAREA> > </TD> > </TR> > <TR> > <TD>Zeitbedarf:<BR> (inkl. Diskussion)</TD> > <TD valign="top"> <INPUT name="zeit" type="text"> min.</TD> > </TR> > <TR> > <TD>Benötigt werden:</TD> > <TD> > <INPUT name="equipment" type="text"> > </TD> > </TR> > <TR> > <TD colspan="2">(z. B. Beamer, Notebook mit Acrobat Reader, > Tafel)</TD> > </TR> > </TABLE> > Rainer This counters your first post stating the TEXTAREA element is collapsed. Have you solved the problem or is your browser fixing the HTML? Firefox's View Source has two problems: 1. Resubmits the request -- bad when debugging POST requests. 2. What you see is not what the server sent. The HTML is parsed and cleaned. Is the problem only with TEXTAREAs created with TinyMCE? Someone else may need to assist. solprovider