Ok, I will try it in my code.
Thanks Lenny!
------------------------------------------------------------------
David Germán Canteros


2012/3/20 Lenny Primak <lpri...@hope.nyc.ny.us>

> I am the author of that fix and it definitely works correctly.
> It strips out the form from the request and redirects it to the page that
> the
> client was actually looking for.
>
> On Mar 20, 2012, at 9:04 AM, David Canteros wrote:
>
> > Hi guys!
> > Lately I detected a lot of this exception in the logs of my tap
> > applications... It said:
> >
> > *org.apache.tapestry5.ioc.internal.OperationException: Forms require that
> > the request method be POST and that the t:formdata query parameter have
> > values. [at context:courses/ManageCoursesPage.tml, line 8]*
> >
> > The .tml
> >    <form t:type="form" t:id="filterCoursesForm" t:zone="coursesGridZone">
> >    ...
> >   </form>
> >
> > This happens often, but not all the time... I didn't found external
> causes,
> > so i believe that are related with tapestry... I was looking for fix in
> the
> > mailing list, but only found some tricks...
> > For example
> >
> http://tapestry.1045711.n5.nabble.com/Safari-for-example-browser-history-and-form-exception-td4942074.html
> ,
> >
> > In this case, it decorates the RequestExceptionHandler and checks if the
> > exception contains the string "*Forms require that the request..*.", if
> > true then throws some kind on redirect... Can anybody say if this fix is
> > correct?? Otherwise, can anybody suggest other more clear fix, or provide
> > some context to understand the exception?
> >
> > Thanks in advance!
> > David
> >
> >
> > ------------------------------------------------------------------
> > David Germán Canteros
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to