2009/11/5 gerogut <gero...@yahoo.com>: > > > 4. When I click on a file, bookFileForm is displayed, the controller is > BookFileFormController and it has a different manager wich is > BookFileManager.(bookfileform.jsp) Here it's the problem, I can't get to > associate the file to the book because I don't know how to get the book > without an id. In this controller I only have the id of the bookFile. So, > answering you second question, I can't add BookFile to the Book object. >
Maybe you need to add to BookFileController the BookManager bean, just the same way as BookFileManager is inserted .. Then you can get Book from BookManager .. just need book.id from request or bookFile .. regards Wojtek --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net