Another issue, how do we update the part?

The Rails way is to give a .js or .js.erb and that code will be
rendered on the callback so we give the javascript to update the HTML
of what we wish, but with the update="part-id", isn't that supposed to
be handled?  So when I do a:

    render :text => 'field contents' if request.xhr?

for the controller action, I thought the field with the part I
specified be updated with the 'field-contents'?

But there is a hobo_ajax_response which uses params[:render].  I am
not clear on that I guess and what that sends.

I tried doing it manually but I don't know what it's supposed to do:

    params[:render] =  { :render => 'start-frame-display'}   ## Had to
do this because I don't get anything in the params
    hobo_ajax_response if request.xhr?

-- 
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