Ted,

Your example says this:

To seed the textarea from the form bean, you could code something like:
  <textarea name="article" rows="15" cols="60" wrap="soft"></textarea>

But there is something additional to set the initial value from the form
bean, correct?

    <textarea name="article" rows="15" cols="60" wrap="soft"><bean:write
name="formName" property="article"/></textarea>

Erik


----- Original Message -----
From: "Ted Husted" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, August 19, 2001 7:02 AM
Subject: Re: TextArea Wrapping using Form Tags


> See "Wrapping a text area" at
>
> http://husted.com/about/struts/FAQ/view-html.htm
>
> Calvin Lau wrote:
> >
> > Is there any way to set the wrapping in a text area
> > when using the struts form tags?  In HTML you can set
> > virtual, physical, or none.  Netscape doesn't do any
> > wrapping by default so large portions of text are lost
> > when I grab information to display in a textarea to be
> > modified.
> >
> > Any ideas?


Reply via email to