Thanks for being so persistent - no i found the bug. It was a double encoding in DbGotoButton tag. Fixed and committed!
Cheers, Henner > -----Ursprüngliche Nachricht----- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im > Auftrag von J M Okomba > Gesendet: Donnerstag, 20. Mai 2004 14:31 > An: '[EMAIL PROTECTED]' > Betreff: FW: [dbforms] <db:gotoButton /> in 2.4rc1 > > > > I just tested bookstore > > (/bookstore_2.4rc1_20040506/tests/testPosition.jsp) and it > behaves the > > same (can't jump to the correct record using <db:gotoButton />), > > unless it's only on my computer. > > > > -----Original Message----- > > From: Henner Kollmann [SMTP:[EMAIL PROTECTED] > > Sent: 20 May 2004 09:32 > > To: 'J M Okomba' > > Subject: AW: [dbforms] <db:gotoButton /> in 2.4rc1 > > > > Hmm - bookstore test cases are all working... > > I think we need some debugging. Could you step through the > > dforms.doStart method and have a look which resultset is build? > > I sounds that the wrong case during selection of the > resultset is done. > > > > Stepping should start somewhere in line 1477 - there is the > checking > > of the events done. > > > > Cheers, > > Henner > > > > > -----Ursprüngliche Nachricht----- > > > Von: J M Okomba [mailto:[EMAIL PROTECTED] > > > Gesendet: Donnerstag, 20. Mai 2004 10:27 > > > An: 'Henner Kollmann' > > > Cc: [EMAIL PROTECTED] > > > Betreff: RE: [dbforms] <db:gotoButton /> in 2.4rc1 > > > > > > > > > Using the Util.encode doesn't solve the problem. In fact the > > > encoding is done in DBForms (at DbGotoButtonTag.java line 179). > > > There might have been some other changes btn 1.1.3 and > > > 2.4 that's preventing <db:gotoButton /> from working > properly in 2.4. > > > > > > > -----Original Message----- > > > > From: Henner Kollmann [SMTP:[EMAIL PROTECTED] > > > > Sent: 18 May 2004 18:41 > > > > To: 'J M Okomba' > > > > Cc: [EMAIL PROTECTED] > > > > Subject: AW: [dbforms] <db:gotoButton /> in 2.4rc1 > > > > > > > > > In dbforms1.1.3 <db:gotoButton caption="button.edit" > > > > > destination="<%=editURL%>"destPos="<%= position_data %>" /> > > > > > would take me to the desired record. In 2.4rc1 it doesn't (it > > > jumps to the > > > > > first record). > > > > > This happens for both classic and datalist navigation. > > > > > > > > > > However <a href="<db:linkURL href="<%=editURL%>" > tableName="data" > > > > > position="<%= position_data %>"/>"><%= > > > > > currentRow_data.get("code") %></a> links to the > correct record. > > > > > > > > > > Is there something I am missing out? > > > > > > > > > I the new version the position string must be encoded with > > > Util.encode > > > > to allow all characters in the index. Maybe your > > > position_data isn't? > > > > > > > > > > > > Cheers, > > > > Henner > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by: SourceForge.net > > > Broadband Sign-up > > > > now for SourceForge Broadband and get the fastest > > > > 6.0/768 connection for only $1995/mo for the first 3 months! > > > > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click > > > > _______________________________________________ > > > > DbForms Mailing List > > > > > > > > http://www.wap-force.net/dbforms > > > DISCLAIMER: This email and any files transmitted with it are > > > confidential and intended solely for the use of the > recipient. Any > > > disclosure, copying or distribution of all or part of the > > > information contained herein to or by third parties is prohibited > > > and may be unlawful. > > > > > > In any event the contents herein is without prejudice. > > > > DISCLAIMER: This email and any files transmitted with it are > confidential and intended solely for the use of the > recipient. Any disclosure, copying or distribution of all or > part of the information contained herein to or by third > parties is prohibited and may be unlawful > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g Get certified > on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id149&alloc_id66&op=ick > _______________________________________________ > DbForms Mailing List > > http://www.wap-force.net/dbforms > ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id66&op=click _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms