Hi I am pretty new to cakephp and I am struggling to do something that I think should be a relatively common problem.
We have a list of records that we are paginating, a user can select a record to edit. Upon completion of the edit the user is then returned to the paginated list. My usual (non cake) strategy for this kind of thing has been to save the current pagianted page to a session variable. At the point of commiting the edit for a record I then set an updated record variable and the list page then knows that it has to jump to the relevant paginated page. I am setting all of these in the controller which seems to me to be the relevant place. I have no problem in setting the page to see if it has just updated what I cannot do right now is retrieve the current pagiante page in the controller. It is available to the view so it is defintely there somewhere - just can't see how to get to it. As I said before, I am sure that this is a common problem and I am looking for first a solution and secondly best practice. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
