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 $19.95/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. ------------------------------------------------------- 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_id=3149&alloc_id=8166&op=click _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms