On Jan 11, 8:58 pm, Jeff <[email protected]> wrote:
> Implementation question:
>
> 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?
>

Is your search form posting rather than getting? Change it from a post
to a get will probably fix things (since search parameters will then
be part of url) and is probably semantically better too.

Fred
> 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