Steve Piercy - Web Site Builder Re: Preparing for return links
Jan 26, 2009; 13:57
Steve Piercy - Web Site Builder
Re: Preparing for return links
I'm not sure how you would do this in Knop. I use a session. On the list page set a session var to contain an array of all the found and sorted record ids. Then on the detail page, you would generate a link from finding the position of the record id in the array. If you page through a list of 10 records at a time, you would need to use -skiprecords like this:
<a href="/list.lasso?-skiprecords=' + (($this_record_position-1)/10)*10 + '">Return to List</a>
--steve
On Monday, January 26, 2009, jolle@carlestam.com (Jolle Carlestam) pronounced:
>I have to handcraft some links taking me from a grid list to a detail >page. >It would be super to have a "Take me back" link on the detail that >brings the user back to the list in the same state as he left it. > >How can I do this in the most clever way? > >HDB >Jolle >
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Steve Piercy Web Site Builder Soquel, CA <web@StevePiercy.com> <http://www.StevePiercy.com/>
-- ############################################################# This message is sent to you because you are subscribed to the mailing list <knop@lists.montania.se>. To unsubscribe, E-mail to: <knop-off@lists.montania.se> Send administrative queries to <knop-request@lists.montania.se> List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html Project homepage http://montania.se/projects/knop/ Google Code has the latest downloads at http://code.google.com/p/knop/
Jan 26
Jolle Carlestam Preparing for return links
Jan 26, 2009; 15:50
Jolle Carlestam
Preparing for return links
Jan 26
Johan Solve Re: Preparing for return links
Jan 26, 2009; 23:36
Johan Solve
Re: Preparing for return links
Jan 26
Johan Solve Re: Preparing for return links
Jan 26, 2009; 23:42
Johan Solve
Re: Preparing for return links
Jan 27
Jolle Carlestam Re: Preparing for return links
Jan 27, 2009; 01:16
Jolle Carlestam
Re: Preparing for return links
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!