hi

Are you shure you have read the whole thread here?? from bottom to top?

The <form:textarea> tag doesn't support the wrap attribute because it's in
the HTML 4.x specification. Therefore you can't use it with
<form:textarea>... but you can do it manually by using it like the example
below..

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

reread this mail plz

Dave Van Even

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


> Am I missing something?  I realize that Netscape and
> IE support the wrap tag but when i add "wrap='soft'"
> to my form:textarea tag, I get an error saying the
> "attribute wrap is invalid".
>
>
> --- Dave Van Even <[EMAIL PROTECTED]> wrote:
> > 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/
> > >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
>

Reply via email to