Thanks :)
--
Posted via http://www.ruby-forum.com/.
--
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to
rubyonrails-talk+
basically you got two possibilities:
1. write the value into a session-variable
session[:object] = "some string or value"
2. pass your value as a parameter to some action and read params in
your controller:
view:
<%= link_to "my_action" :controller => :bla, :action
=> :my_action, :object => "
Sure. I have a page in (view\controller x) with an input field.
Submitting the form displays the value of the input field on this same
page.
There is a link on this page that connects to another page in a
different view/controller (view\controller y). I want to use the param
(input field value
rom a page in another
controller?
means
On Tue, Nov 30, 2010 at 9:36 AM, Marnen Laibow-Koser
wrote:
> Paul Roche wrote in post #964999:
> > Hi. Is it possible to refer to a parameter from a page in another
> > controller?
>
> Your question is unclear as stated. More details?
>
> Best,
> --
>
Paul Roche wrote in post #964999:
> Hi. Is it possible to refer to a parameter from a page in another
> controller?
Your question is unclear as stated. More details?
Best,
--
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org
Sent from my iPhone
--
Posted via http://www.ruby-forum.c
5 matches
Mail list logo