Dear All, I'm upgrading my production server from 1.1.4pr2 to 2.4rc1 (or 2.3). I have some problems with nested forms... so I took the bookstore example to compare it with my "old" forms.
When I try to use the "testAuthorBooksSubForm.jsp" form I noticed that I cannot insert a new item in the nested form. I press New-button, I insert data and then I confirm with insert, but the record in the subform does not appear in the "main" form.... I'm using tomcat 5.0.19. If I run the example "testAuthorBooksSubFormWithFilter.jsp", all runs quite well, but this one in based on the query "BOOK_QUERY" instead of the table "BOOK".... Is this normal? In my old forms I never used "parentField and childField" relation... I ever worked with filters... Now if I miss the parentField/childField relation between master and sub forms I get an error in myeclipse IDE (something like dbfroms defined twice).... so when I use parentField+childField relation (like in bookstore exaple): - have I to put a filter in the nested form to extract only the records of one specific AUTHOR_ID? (of course no). - the AUTHOR_ID field in the nested table is filled automatically by dbforms? Or have I to put an hidden textfield with an overrideValue="<%=AUTHOR_ID >"? Many thanks Ivan ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms
