cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Focke <p...@outerthought.org>
Subject Re: CForms: textarea widget?
Date Tue, 14 Feb 2006 16:09:20 GMT
Fernando.Matomira@thomson.com wrote:
> How does one set the size of the textarea and the wrapping mode?

You can set all kinds of attributes for a html element using fi:styling

In your case for example:
<ft:widget id="textWidget">
  <fi:styling type="textarea" rows="4" cols="80"/>
</ft:widget>
you can also go ahead and add other attributes

<fi:styling type="textarea" class="niftyTextArea" style="..."/>



> 
> Thanks
> 
> -----Original Message-----
> From: Derek Hohls [mailto:dhohls@csir.co.za] 
> Sent: Friday, February 10, 2006 2:26 PM
> To: users@cocoon.apache.org
> Subject: Re: CForms: textarea widget?
> 
> <ft:widget id="...">
>   <fi:styling type="textarea"/>
>  
> or
>  
> <ft:widget id="...">
>   <fi:styling type="htmlarea"/>
> 
> 
> PS I have downloaded the entire Forms manual as a PDF;
> pretty helpful.
> 
> 
>>>>Fernando.Matomira@thomson.com 2006/02/10 03:16:52 PM >>>
> 
> 
> 
> I am looking at the Cocoon User Guide, and I don't see how one can
> create a textarea widget. Thanks
> 
> 
> 


-- 
Paul Focke                                http://outerthought.org/
Outerthought                              Open Source Java & XML
paul at outerthought.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message