Thanks for your help! This has partially patched before, just the (getParentForm() != null) was missing. Are you using the current weekly build?
Henner > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: Thursday, March 16, 2006 4:03 AM > To: jdbforms-interest@lists.sourceforge.net > Subject: [dbforms] Bug in HasRecords, HasNoRecords tags > > Henner, > > I found a bug in the HasRecordsTag and HasNoRecordsTag (line > number 100) where a nullpointer exception was raised when the > tags were nested in a isWebEventTag and the screen was > redisplayed after an insert event. > > I have changed this code > > // Start > > int rsvSize = getParentForm().getResultSetVector().size(); > > //End > > to this code > > //Start > > int rsvSize = 0; > > if (getParentForm() != null && > getParentForm().getResultSetVector() != null) > rsvSize = getParentForm().getResultSetVector().size(); > > //End > > I have performed rudimentary testing and it appears that the > code has not broken. > > Could you please, in due course, add this into the code base. > > Cheers, > > Jeremy Chilvers > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking > scripting language that extends applications into web and > mobile media. Attend the live webcast and join the prime > developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720& > dat=121642 > _______________________________________________ > DbForms Mailing List > > http://www.wap-force.net/dbforms > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms