Matt, I think you are right. I think that the WRAP causes the problem. Of course, my previous problem is missing the 'name' attribute in the action mapping. --- Matt Bathje <[EMAIL PROTECTED]> wrote:
> Are you sure that your textarea is generating > properly when you use the > html:textarea tag? The WRAP should make it bomb > right away...from what I > can tell, there is no valid wrapping attribute for > html:textarea, and > even if there were, it would have to say > wrap="something" to be valid, > not just WRAP. > > Make sure that the page is being fully rendered, and > not generating errors. > > > > Try doing the textarea as: > <html:textarea property="messageBody" rows="15" > cols="62" /> > > > Mat > > > > Caroline Jen wrote: > > > Yeah, I think that there is another issue. > > > > I have added the name of the bean in the action > > mapping, the <html:textarea> still gives problems. > > > > This one works: > > <textarea name="messageBody" rows="15" cols="62" > > WRAP></textarea> > > > > This one does not work: > > <html:textarea property="messageBody" rows="15" > > cols="62" WRAP></html:textarea> > > > > Okay, the action mapping is like: > > > > <action > > path="/MailMessage" > > parameter=".message.Form" > > name="messageForm" > > > > type="org.apache.struts.actions.ForwardAction"/> > > > > and the <form-bean .... tag is like: > > > > <form-bean > > name="messageForm" > > > > > type="org.apache.struts.validator.DynaValidatorForm"> > > <form-property > > name="msgtype" > > type="java.lang.String"/> > > <form-property > > name="sender" > > type="java.lang.String"/> > > <form-property > > name="receiver" > > type="java.lang.String"/> > > <form-property > > name="messageTopic" > > type="java.lang.String"/> > > <form-property > > name="priority" > > type="java.lang.String"/> > > <form-property > > name="distribution" > > type="java.lang.String"/> > > <form-property > > name="messageBody" > > type="java.lang.String"/> > > </form-bean> > > > > > > --- Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > > >> > >>>-----Original Message----- > >>>From: Matt Bathje [mailto:[EMAIL PROTECTED] > >>>Sent: Friday, September 10, 2004 2:38 PM > >>>To: Struts Users Mailing List > >>>Subject: Re: [SOLVED]Cannot retrieve definition > >> > >>for form bean null > >> > >>> > >>>Jim Barrows wrote: > >>> > >>> > >>><snip> > >>> > >>> > >>>> > >>>>Not the form bean class... The action definition > >> > >>in struts-config. > >> > >>>><action path="/borrowerInfo" > >>>> name="yourFormName" > >>> > >>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<need > >> > >>this!!!!!!! > >> > >>type="com.sssc.csr.web.actions.ShowBorrowerAction"> > >> > >>>> <forward name="success" > >>> > >>>path="borrowerInfo"></forward> > >>> > >>>> </action> > >>>>You have to tell the action definition what form > >> > >>your > >> > >>>using, regardless of whether it is DynaForm, > >> > >>ValidatorForm or > >> > >>>ActionForm. > >>> > >>>>When one of the <html: tags gets executed it > >> > >>looks for the > >> > >>><html:form tag, grabs the action and then looks > in > >> > >>>struts-config for the form name THEN it creates > >> > >>the tag. You > >> > >>>don't have a name parameter, so it's saying that > >> > >>it's null. > >> > >>>> > >>>> > >>>Jim - doesn't she have this correct already? > Based > >> > >>on what I > >> > >>>see here I > >>>think so: > >> > >>Last time I saw her code, no she didn't have the > >>name...in a message I posted to her I added that > >>line right about where that one is... > >> > >>If she does have that, then yes, there is another > >>issue. > >> > >> > >> > >>> > >>><snip> > >>> > >>>>>>>>>> <action > >>>>>>>>>> path="/message/SendMessage" > >>>>>>>>>> > >> > >>type="org.dhsinfo.message.SendMessage" > >> > >>>>>>>>>> name="messageForm" > >>>>>>>>>> scope="request" > >>>>>>>>>> validate="false" > >>>>>>>>>> input=".message.Form"> > >>>>>>>>>> <forward > >>>>>>>>>> name="success" > >>>>>>>>>> > >>>>>>>>>>path="/confirmation/messageForwarded.jsp"/> > >>>>>>>>>> </action> > >>>>>>>>>> > >>> > >>><snip> > >>> > >>> > > > --------------------------------------------------------------------- > > > >>>To unsubscribe, e-mail: > >> > >>[EMAIL PROTECTED] > >> > >>>For additional commands, e-mail: > >> > >>[EMAIL PROTECTED] > >> > >>> > >> > > > --------------------------------------------------------------------- > > > >>To unsubscribe, e-mail: > === message truncated === _______________________________ Do you Yahoo!? Shop for Back-to-School deals on Yahoo! Shopping. http://shopping.yahoo.com/backtoschool --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]