Implementation question:

I'm developing an app that does the following:

1. Presents a query screen.

2. 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.

3. 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.

4. 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

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to