Thanks, I did as you suggested ad added th patch to processActionForward() instead of doForward(). After submitting this I noticed that James Holmes was also working actively on this bug.
-Rob Hal Deadman wrote: >The subject of this email doesn't seem to match the body but if you are >referring to bug reports about the multipart requests and forwarding, there >are a couple in bugzilla already. > >http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8732 >http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9760 (duplicate) > >Hal > >>-----Original Message----- >>From: Rob Leland [mailto:[EMAIL PROTECTED]] >>Sent: Tuesday, June 25, 2002 12:46 PM >>To: Struts Developers List >>Subject: multipart requests + forwarding = bug >> >> >>I haven't experienced this bug but my office mate mentioned >>he experienced it, he is not here today. There also seems to been some >>discussion, and several different patches floating around to fix this. >> >>If this is still a problem could someone who has experienced this >>file a BUG report at http://nagoya.apache.org/bugzilla/ >> >>I'll see that it gets fixed. >> >>-Rob >> >> >> >> >>Matt Raible wrote: >> >>>You might try matching up your form names in your >>> >>validation.xml file: >> >>><form-validation> >>> >>><formset> >>> >>><form name="LogonForm"> >>> >>><field property="user" depends="required"> >>> >>><arg0 key="error.user.required"/> >>> >>></field> >>> >>></form> >>> >>></formset> >>> >>></form-validation> >>> >>>Should be "logonForm" according to struts-config.xml. >>> >>>HTH, >>> >>>Matt >>>--- Struts-dev Newsgroup <[EMAIL PROTECTED]> wrote: >>> >>>>Subject: Validation on DynamicForm problem >>>>From: "Tomas" <[EMAIL PROTECTED]> >>>>=== >>>>Hello, >>>> >>>>how, to make verification (validation) of dynamic forms ? >>>> >>>>in struts-config.xml is: >>>> >>>> >>>> >>>><struts-config> >>>> >>>>. >>>> >>>>. >>>> >>>>. >>>> >>>><form-bean name="logonForm" dynamic="true" >>>> >>>>type="org.apache.struts.validator.DynaValidatorActionForm"> >>>> >>>><form-property name="user" type="java.lang.String" /> >>>> >>>><form-property name="password" type="java.lang.String" /> >>>> >>>></form-bean> >>>> >>>><action-mappings> >>>> >>>><action path="/logon" type="simple.LogonAction" >>>> >>>>name="logonForm" >>>> >>>>validate="true" >>>> >>>>scope="session" >>>> >>>>input="/index.jsp"> >>>> >>>></action> >>>> >>>></action-mappings> >>>> >>>> >>>> >>>><!-- ========== Message Resources Definitions >>>> >>>>=========================== --> >>>> >>>><message-resources >>>> >>>>parameter="org.apache.struts.webapp.validator.ApplicationRes >>>> >>ources"/> >> >>>><!-- ========== Plug-in Definitions >>>> >>============================== --> >> >>>><plug-in className="org.apache.struts.validator.ValidatorPlugIn"> >>>> >>>><set-property property="pathnames" >>>> >>>>value="/WEB-INF/validator-rules.xml,/WEB-INF/validator.xml"/> >>>> >>>></plug-in> >>>> >>>>. >>>> >>>>. >>>> >>>>. >>>> >>>></struts-config> >>>> >>>> >>>> >>>>in file validator.xml is: >>>> >>>> >>>> >>>><form-validation> >>>> >>>><formset> >>>> >>>><form name="LogonForm"> >>>> >>>><field property="user" depends="required"> >>>> >>>><arg0 key="error.user.required"/> >>>> >>>></field> >>>> >>>></form> >>>> >>>></formset> >>>> >>>></form-validation> >>>> >>>> >>>> >>>> >>>> >>>>in web.xml is: >>>> >>>><web-app> >>>> >>>><servlet> >>>> >>>><servlet-name>action</servlet-name> >>>> >>>><servlet-class>org.apache.struts.action.ActionServlet</servl >>>> >>et-class> >> >>>><init-param> >>>> >>>><param-name>application</param-name> >>>> >>>><param-value>ApplicationResources</param-value> >>>> >>>></init-param> >>>> >>>><init-param> >>>> >>>><param-name>config</param-name> >>>> >>>><param-value>/WEB-INF/struts-config.xml</param-value> >>>> >>>></init-param> >>>> >>>><init-param> >>>> >>>><param-name>debug</param-name> >>>> >>>><param-value>3</param-value> >>>> >>>></init-param> >>>> >>>><init-param> >>>> >>>><param-name>detail</param-name> >>>> >>>><param-value>3</param-value> >>>> >>>></init-param> >>>> >>>><init-param> >>>> >>>><param-name>validate</param-name> >>>> >>>><param-value>true</param-value> >>>> >>>></init-param> >>>> >>>><load-on-startup>2</load-on-startup> >>>> >>>></servlet> >>>> >>>></web-app> >>>> >>>> >>>> >>>> >>>> >>>>no efect in edit form, always (but still) error messages: >>>> >>>> >>>> >>>>747375 [HttpProcessor[80][4]] DEBUG >>>> >>>>org.apache.struts.action.RequestProcessor - Validating input form >>>> >>>>properties >>>> >>>>747375 [HttpProcessor[80][4]] DEBUG >>>> >>>>org.apache.struts.action.RequestProcessor - No errors >>>> >>detected, accepting >> >>>>input >>>> >>>> >>>> >>>>Can you help? >>>> >>>>Second question is, how to used text fields (width >>>> >>indexed=true) on dynamic >> >>>>forms? >>>> >>>>[EMAIL PROTECTED] >>>> >>>> >>>> >>>> >>>> >>>> >>>>-- >>>>To unsubscribe, e-mail: >>>> ><mailto:[EMAIL PROTECTED]> > >>>For additional commands, e-mail: >>> ><mailto:[EMAIL PROTECTED]> > >> >>__________________________________________________ >>Do You Yahoo!? >>Yahoo! - Official partner of 2002 FIFA World Cup >>http://fifaworldcup.yahoo.com >> >>-- >>To unsubscribe, e-mail: >> ><mailto:[EMAIL PROTECTED]> > >>For additional commands, e-mail: >> ><mailto:[EMAIL PROTECTED]> > >> >> > > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > >
