<p class="lastwinner">
<%= text_field_tag :user_search, params[ :user_search ] %>
</p>
<%= 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 Wieland
nicholas.wieland-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
--~--~---------~--~----~------------~-------~--~----~
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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---