Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3348908
By: woodchuck5
actually, i think why redisplayFieldsOnError does not work is because DbFormTag
has specific logic that treats INSERT operations differently.
because of this part of the code:
if ((webEvent != null)
&& EventType.EVENT_DATABASE_INSERT.equals(webEvent
.getType()) && (errors != null)
&& (errors.size() > 0)
&& (webEvent.getTable().getId() == getTable().getId())
&& !hasLoadOnInsertErrorsSet()) {
// error in insert event, nothing to do!
navEvent = null;
resultSetVector = null;
setFooterReached(true);
}
which is exactly where i made the modification to check the extra new flag
"loadOnInsertErrors".
woodchuck
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=55830
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
DbForms Mailing List
http://www.wap-force.net/dbforms