The problem is the following: If the request ist multipart/mime-encoded, Tapestry expects ALL parameters to be parts of the multipart request. This works well if all the parameters come from a form-submit which is the case with tapestry-generated pages. Now, FCKeditor, when uploading a file, puts the parameters in the URL - the only part of the multipart-request is the file itself. In that case these parameters are not returned by IRequestCycle.getParameter(), but they are returned by HttpServletRequest.getParameter().
It would be quite easy to patch this (I'd be happy to provide the 2 or 3 lines). It certainly wouldn't break anything, would it? > -----Original Message----- > From: Howard Lewis Ship [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 08, 2005 9:52 PM > To: Tapestry users; Tomas Jucius > Subject: Re: Bug in RequestContext ???? Tapestry 3.0.3 > > > That should be working; that is, be sure to use > IRequestCycle.getParameter(), not HttpServletRequest.getParameter(). > > On 6/8/05, Tomas Jucius <[EMAIL PROTECTED]> wrote: > > I'd like to ask again.. It's important for my project.. > > > > > > Then the request is form/multipart-data, why I can't still > access service name? > > > > Shouldn't this method return service name in both situations? > > > > > > > > public String getParameter(String name) > > { > > IMultipartDecoder decoder = getDecoder(); > > if (decoder != null) > > return decoder.getString(_request, name); > > > > return _request.getParameter(name); > > } > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > -- > Howard M. Lewis Ship > Independent J2EE / Open-Source Java Consultant > Creator, Jakarta Tapestry > Creator, Jakarta HiveMind > > Professional Tapestry training, mentoring, support > and project work. http://howardlewisship.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
