Hi Dan,

I've checked the source and I'm trying to define a IPrimaryKeyConverter,
but it seems it could help a lot.

Thanks,

Miguel Hernández

On 6/8/07, Dan Adams <[EMAIL PROTECTED]> wrote:

I've only hit this problem once and in that situation I was looping over
5000 objects using @For in a form without using an IPrimaryKeyConverter
so each of the 5000 objects would get serialized and put in the form. I
ended up just taking it out of the form entirely but I perhaps also
could have gotten away with using a converter. In any case, look at the
html source and check if you have huge hidden fields or something.

On Fri, 2007-06-08 at 10:45 -0500, Miguel Angel Hernández wrote:
> Hi all,
>
> We have a little problem here, any help would be appreciated.
> We are using tap4 + tacos4 on a Geronimo server (jetty back-end).
> I have a @Form which contains a @For component, the problem is sometimes
the
> form is too large and jetty cant handle it, throwing the following
error:
> "java.lang.IllegalStateException: Form too large".
>
> The problem could be solved passing these option to the server:
>
> -Dorg.mortbay.http.HttpRequest.maxFormContentSize=X
>
> Where X overwrites the default 200 000 bytes of the max form content,
> But I suspect there is clearly something wrong with my form If it grows
that
> big, we could set it to 1meg but nothing warrants that our form couldn't
get
> bigger.
>
> Does anybody knows techniques for reducing tapestry form sizes? Anyone
> encountered this problem before? How did you solved it?
>
> Thanks a lot,
>
> Miguel Hernandez
--
Dan Adams
Senior Software Engineer
Interactive Factory
617.235.5857


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to