> > I think I didn't explain the requirement properly. > > I have a simple form to enter data, which is supposed to be > committed to 2 different tables. I have 10 fields on the JSP > screen. I have to submit 5 to one table & another 5 to another table. > > So, in the form I gave Table 1 and I wrote an interceptor to > find out the other 5 values & commit to the Table 2 & delete > them from the fieldValues, so that the Table1 gets > automatically committed by the framework. > > This part might work fine. But the problem is while loading > the screen itself, the dbforms tries to do a select for that > screen, which gives NPE; because those extra 5 fields are not > defined in the dbforms-config for Table 1. I tried > manipulating that; but does not help much. > You can define a query in dbforms with all fields you need and use the expression attribute to set some dummy values in the field
> > Also, how to have hidden field in the form? Set hidden="true" in the field Regards, Henner ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms
