Displaying 1 result from an estimated 1 matches for "_fields_chooser".
Did you mean:
fields_chooser
2006 May 02
4
passing data from controller to rjs and then to partial
...search
response = @@api.DoSearch()
end
and in my .rjs template, I am doing
page.replace_html ''fields_chooser'', :partial => ''fields_chooser''
,:locals =>{:response => response}
page.visual_effect(:Appear, ''fields_chooser'')
and in _fields_chooser.rhtml, I want to use response. But I can''t see
response in my .rhtml file.
what am I missing here? how do I pass data "response" from controller to
the .rhtml file or should I be doing this in a different way?
Thanks guys for any help.
PS
--
Posted via http://www.ruby-for...