I don't know if I'm remembering correctly, but try playing around with the various table state managers. There is a Null state manager that I think in particular might solve this issue. But, like I said...Don't remember for sure off hand.
On 3/9/06, Ron Piterman <[EMAIL PROTECTED]> wrote: > > I am using a simple table ina form, where the first column is a checkbox > to allow deleting the entry. > > Since the rows are coming from a database query, I use a converter to > store the PKs - > > now, since I only need the form when the user clicks "delete", I set the > converter to return the primary keys, but on the getValue(Object pk) > method, it returns the pk itself (and not the original row). > > I set my table model to render only the checkboxes on rewind, and it all > functions well, except one critical error for which I can't see the > reason: > > the converter's getValue(pk) method is never called. > It seems the table component stores the row objects in the session, and > uses a map to internaly restory them? > > This is critical since it may result in hibernate session problems. > > besides, it should actually retrieve the rows from the converter, and > not from the... session (?) ... > > is this a critical bug, or did I miss something. > > reading the docu in this case does not help because, there is no docu... > :( > > will be most glad for help... > > Cheers, > ROn > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >