[Rails] Re: directly calling an action

2008-09-26 Thread Erhard Karger
Hi Thank You a lot. I took the first aproach and filled the div with a partial initially with (remote_form_for) in create I call a format.js with : file : create.js.rjs page.replace_html :constraintCont, page.insert_html :bottom, :constraintCont,:partial = list, :object = @constraint Now

[Rails] Re: directly calling an action

2008-09-24 Thread Mark Reginald James
Erhard Karger wrote: Hi, I have got now ajax to work in my application. But I have still a small problem : I have a content - section ... div id = 'cont' /div .. Than I want to call a action which update this section depending on the data-constellation in the