hi,
I've noticed that in new version, when a NOOP event is activated (e.g. when a non-dbform submit is executed on the page), the current position (i.e. the first visible record) is lost.


this small patch can do the work, but i'm wondering if there are some reasons to retain this behaviour.


Index: DbFormTag.java =================================================================== RCS file: /cvsroot/jdbforms/dbforms/src/org/dbforms/taglib/DbFormTag.java,v retrieving revision 1.104 diff -u -w -b -r1.104 DbFormTag.java --- DbFormTag.java 21 Mar 2004 14:29:53 -0000 1.104 +++ DbFormTag.java 24 Mar 2004 13:42:04 -0000 @@ -1498,7 +1498,8 @@ // We should do a free form select

navEvent = navEventFactory.createGotoEvent(table, request, config, whereClause, getTableList());

} else {

- String myPosition = null;

+ // 2004-03-24: why don't we use firstPosition to retain the current position, instead of setting myposition to null
+ String myPosition = firstPosition;
if ((webEvent != null) &&


(

// we have one of the update events...




cheers, sergio


------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to