> -----Original Message-----
> From: Simon Price [mailto:[EMAIL PROTECTED]
> Sent: Montag, 30. Juni 2003 20:04
> Cocoon's form handling is (imho) it's weakest area at present 
> although 
> it is rapidly improving with the interplay between flow and xmlform.
> Simon
> Luke Penca wrote:
> > Are textareas implemented in Woody yet?  I cannot find 
> anything in the (oh so sparse) documentation.
> > 
> > Furthermore, has anyone used Woody extensively yet?  (I 
> know, I know, it's alpha at this point but I need some 
> serious forms handling.)  Should I be considering Xforms 
> instead?  Who got some experience getting their hands 
> bloodied with forms in Cocoon?  I'm ever anxious to find out.
> > Luke.....

I've just started prototyping with Woody and I think it is a
diamond in the raw.  Finally a form handling package that does
not require you to write a bean class or Cocoon action for
every little form!

Coming to the original question:  There is no special textarea widget
but you can emulate it easily by a field widget with styling:

                    <wt:widget id="question">
                      <xhtml:textarea rows="5" cols="30"

which is then transformed into HTML as:

    <xsl:template match="wi:field[wi:styling/xhtml:textarea]">
      <xhtml:textarea name="[EMAIL PROTECTED]">
        <xsl:apply-templates select="wi:styling/xhtml:textarea/@*"/>
          <xsl:when test="wi:value != ''">
            <xsl:value-of select="wi:value"/>
            <xsl:value-of select="'&#160;'"/>

HTH, ALfred.

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender’s company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender’s company. 

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to