got is solved. I had to use
render :update do |page|
page.replace_html "node_tree", :partial => '/trees/
tree', :collection => @tree
end
On 23 nov, 14:11, Tarscher <[EMAIL PROTECTED]> wrote:
> I jisu used Firebug and saw that I het a respons containing the proper
> html but for some reason this html isn't shown on the page
>
> Stijn
>
> On 23 nov, 14:01, Tarscher <[EMAIL PROTECTED]> wrote:
>
> > In my show view of the treescontroller I have
> > <%=render :partial => "trees/tree", :collection => @tree %>
>
> > This partial contains some ajax user managment functionality (drag
> > drop user to groups). When a user is moved (dragged and dropped) the
> > userscontroller move method ends with:
> > render :partial => '/trees/tree', :collection => @tree
>
> > in my console I see:
> > Rendered trees/_tree (0.03200)
> > Rendered /trees/_tree (0.04700)
> > so the partial gets rendered but my view (show view of the
> > treescontroller ) doesn't get updated
>
> > Somone has an idea what I do wrong here?
>
> > Regards,
> > Stijn
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---