Ahh... I was mainly paying attention to the
wrap="soft" part and didn't notice it was using
regular HTML tags =).  Thanks


--- [EMAIL PROTECTED] wrote:
> > Am I missing something?
> 
> Yes. :-)
> 
> What you're missing is that the suggestion is to use
> a regular HTML
> <textarea> tag instead of the Struts tag, and then
> use <bean:write> to
> provide the initial value.
> 
> --
> Martin Cooper
> 
> 
> ----- Original Message -----
> From: "Calvin Lau" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, August 19, 2001 3:43 PM
> 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/
> >
> 
> 


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

Reply via email to