Re: problem with deleting objects from a collection

2009-07-13 Thread Dimitrios Christodoulakis
I think I might have an idea why the iterator or display tag do not allow for working with collection items. In the past I used form tags (like select) to prompt the user to make a selection from a menu, my thought is that since I was using form tags, by submitting the form, the property (item fro

Re: problem with deleting objects from a collection

2009-07-12 Thread Dimitrios Christodoulakis
I am starting to think that using embeddable might be more hassle than it sounds. i am considering switching to an entity object and dealing with a collection of entities instead. Given that I will not have any shared references anyway, it might solve the problem. I tried attaching a unique field

Re: problem with deleting objects from a collection

2009-07-12 Thread Dimitrios Christodoulakis
Thanks Dave, Yes, the isn't supposed to be there Thanks for pointing this out. Indeed, it has to be an object there, in order to do the remove from the collection. Since this value-type component (entry) does not have a primary key to look it up from, I am a bit at a loss how to continue fro

Re: problem with deleting objects from a collection

2009-07-12 Thread Dave Newton
Dimitrios Christodoulakis wrote: I tried adding one more column like this, hoping the entry property will be available to the DeleteEntry action via the mini-form. What's that supposed to be doing? It's not a form field; there's no entry reference being passed back. Even i

problem with deleting objects from a collection

2009-07-12 Thread Dimitrios Christodoulakis
Good afternoon, I am re-stating a problem I am facing, for which I provided a kind of complicated description before: Deleting objects from a collection. The owning, parent object is a hibernate persistent entity, which contains a collection of components (value-type objects). Such components don'