Hi Kevin,

yes, that worked. Thank you. Is there anywhere in the Hobo
documentation that I could read
more about this, or is this a rails thing in general?

Also, now the following is what is returned in the page:

   $("searchresults").replacehtml({"object": [], "partial":
"search"});

At this point, I am not overly concerned with the fact that the object
is null,
because I know I have issues with Thinking Sphinx/Sphinx that I have
to solve.

However, I am concerned that these results are just getting dumped
backed to me
and not processed by my search.rjs file,

page[:searchresults].replacehtml :partial => 'search', :object =>
@clients

and then the partial file, _search.dryml

 <% if @clients == nil %>
         <p> clients is nil </p>
    <% else %>
         <% for client in @clients %>
                 <%= client.house_interest %>
 <% end %>


Here again is definition in users controller:

 def search
  @clients = User.search params[:search], :conditions => {:category
=> :client}
   respond_to do |wants|
      wants.html
      wants.js
   end
 end


Cheers,

   Jet




 <form   action="/users/search" method="get"  update="searchresults">
         <input id="search" type="text" name="search"  />
        <submit id="searchsubmit" label="SEARCH" />
 </form>

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en.

Reply via email to