On Nov 23, 5:51 pm, Blue Hand Talking <[email protected]> wrote:
> The following:
>
> <% @project_details.each do |project_detail| %>
>
> <%= link_to_remote ( :with => "'architect='+ #
> {project_detail.architect}") %>
>                                         <% end %>
> generates
>
> {asynchronous:true, evalScripts:true, parameters:'architect=' + 'Jack
> London ' + ...more stuff
>
> Is the above then available in params array in the controller, and if
> so how?
>
>  Right now I am trying:
>
>   �...@photos = Photo.find_by_architect(params[:architect:])
>
> which does not work.
>
This is a Prototype/Scriptaculous group, and you are asking about
something a server-side language (Ruby I guess?) which I don't know
anything about.

But what you pass in the 'parameters' comes in as the "search" part of
the URL (i.e. the bit after the ?). That is available to your server
program in the same way as the 'search' from any other URL.

--

You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en.


Reply via email to