UJS and make_observed


#1

<%= text_field_tag :user_search, params[ :user_search ] %>

     <%= apply_behaviour "#user_search",
       make_observed( :field,
         :update => 'contresults',
         :with => "'user_search=' + escape($F('user_search'))",
         :url => { :controller => 'community', :action =>

‘search’ } ) %>

     <div id="contresults">
     </div>

this should call this code

def search
puts params[ ‘user_search’ ]
end

Of course I’ve included UJS, changed application.rb with various
session_id stuff, included everything needed (it generates js files
correctly, the problem is that it’s empty …)

Someone has an idea of what’s happening here ?

ngw


Nicholas W.
removed_email_address@domain.invalid