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