In the case of a multipart form submission (one that has a FileUpload component involved), then request parameters are NOT visible inside the HttpServletRequest but ARE visible inside the (Tapestry) Request.
On Mon, Nov 26, 2012 at 9:07 AM, Thiago H de Paula Figueiredo < [email protected]> wrote: > On Mon, 26 Nov 2012 14:51:50 -0200, dkeenan <[email protected]> > wrote: > > ...just out of interest. Am I correct in thinking that form parameters >> for a Tapestry form upload are not stored in the usual HttpServletRequest >> parameters? >> > > No. The Tapestry form field components generate ordinary HTML fields. > > > The reason I ask is that I was originally accessing the >> HttpServletRequest object, to try and get to the form parameter I was >> looking for. From memory, I think that my HttpServletRequst only had a >> parameter called 'f:formdata', rather than each parameter of the form. >> > > Please check again. > > > Does tapestry actually put submitted form fields into a single >> HttpServletReqeust parameter when a form is submitted? >> > > No. Request is just a thin layer separating most code from using the > HttpServletRequest directly. > > > -- > Thiago H. de Paula Figueiredo > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > users-unsubscribe@tapestry.**apache.org<[email protected]> > For additional commands, e-mail: [email protected] > > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com
