Implementation question:
I’m developing an app that does the following:
-
Presents a query screen.
-
In response to the user-entered data on the query screen, the app
queries the database and returns a list of the matching records with a
“Show” link associated with each record in the list. -
When the user clicks the Show link for one the the items in the
list, a detail view is presented, with an ‘edit’ link and ‘back’ link. -
If the user clicks the ‘back’ link, the app receives the request as
a query screen response but without any of the user-entered data
associated with a query request. Consequently, the resultant view has
no list of matching records.
What I want to happen is the view to contain the original list (as in
#2 above).
I’m lost at how to do this. Is there a way to “save” the user-entered
data to reissue the query? Can the data be somehow “stored” in the
list view html, so it’s returned when the back link is clicked?
Thanks,
Jeff