Re: [Struts 2] Many-to-many form-interface

2008-05-19 Thread Laurie Harper
A multiple select seems to be the 'simplest thing that could possibly work' for this, but there are other options. For example, something like s:optiontransferselect [1] gives a slightly fancier way of providing the same thing. Another alternative would be to have an Ajax-y 'combo box' to selec

Re: [Struts 2] Many-to-many form-interface

2008-05-19 Thread David Canos
Sorry Laurie. I will try to make me clarify I just want to build a form field that * in a Author profile will let me select the books that a author have. * in a Book profile will let me select the authors of the book. It could be possible by a multiple select but I really dont like this solution

Re: [Struts 2] Many-to-many form-interface

2008-05-18 Thread Laurie Harper
David Canos wrote: I want to build a generic form-interface to cover a simple many-to-many relation. Like a Writer and Books relation where a Writer could write some books and a book could be written by some writers. I was thinking in a concrete Struts tag but I find nothing. Could you show me

[Struts 2] Many-to-many form-interface

2008-05-18 Thread David Canos
I want to build a generic form-interface to cover a simple many-to-many relation. Like a Writer and Books relation where a Writer could write some books and a book could be written by some writers. I was thinking in a concrete Struts tag but I find nothing. Could you show me how to solve this iss