That's pretty darn ugly!

Tapestry places some tracking information into a hidden field when it
renders; it needs that data to figure out what to do when the form
submits.  It works fine for reasonably sized forms, but get into that
kind of range and you are hitting some limits.

It may be possible to configure Tapestry to allow a much larger limit
on the request.


I would suggest a very different architecture, where you have  menu
that identifies a reasonably sized subset of the possible 1100 options
and that renders a form for just those fields.  It's very hard to
discuss this in abstract terms since the problem is very much related
to your specific app, and your specific design.

On Tue, May 1, 2012 at 10:55 PM, nazarhussain_s <nazar...@gmail.com> wrote:
> Hi Howard,
>           Previously we had a page wherein the data fields in one form were
> way too many around 100 to 1100 so while submitting the page we were getting
> the below exception so  can you please suggest what I need to change If I am
> to submit that many fields in Tapestry. Currently I am getting the below
> exception If  I club both forms and try to submit  the page.
>
>
> org.apache.hivemind.ApplicationRuntimeException: Unable to decode multipart
> encoded request: the request was rejected because it's size exceeds allowed
> range
> at
> org.apache.tapestry.multipart.MultipartDecoderImpl.decode(MultipartDecoderImpl.java:75)
> at $MultipartDecoder_12fe8ce0836.decode($MultipartDecoder_12fe8ce0836.java)
> at $MultipartDecoder_12fe8ce0837.decode($MultipartDecoder_12fe8ce0837.java)
> at
> org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecoderFilter.java:50)
>
> Regards
> Nazar
>
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/Issues-in-a-page-having-multiple-forms-in-tapestry-4-tp5675264p5679697.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>



-- 
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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to