No, the wrap attribute isn't part of the HTML spec, but it's supported in
both Netscape and IE, and it's pretty useful.

----- Original Message -----
From: "Calvin Lau" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 20, 2001 12:22 AM
Subject: Re: TextArea Wrapping using Form Tags


> The wrap attribute is invalid in the HTML TLD I'm
> using.  Is there a newer version?
>
> Calvin
>
>
> --- Erik Hatcher <[EMAIL PROTECTED]> wrote:
> > 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?
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
>

Reply via email to