Good to know.
I havent run into this problem yet. I keep the hibernate session open until
the response is sent back which means I can access the values of the proxies
in rendering the table. But having the session open for the length of the
request/response cycle doesnt work in all designs so this is good
information to know. Thanks


On 3/29/06, Leonardo Quijano Vincenzi <[EMAIL PROTECTED]> wrote:
>
> Kevin Fightmaster wrote:
> > What are the major gotchas with contrib:Table in a form?
> >
> Well, a *major* gotcha I found out this week (and it cost me a couple of
> sleep hours to fix), is that contrib:Table (and tacos:Table too),
> serializes the row objects when rendering inside a Form. This causes
> problems with Hibernate proxies, since they can't be serialized. I don't
> know if this is really a Hibernate bug (or a bad design choice) or just
> something desirable, but the gotcha *is*: when using Hibernate proxies
> as table row objects, you must declare a converter.
>
> (the converter is passed as parameter for contrib:Table or
> contrib:TableRows).
>
> --
> Ing. Leonardo Quijano Vincenzi
> DTQ Software
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to