>>
> Something is wrong since the shouldnt be a passing :page=>nil,
> :ascending=>nil,:per_page=>nil in the params , view the html code and 
> check
> what action is been called in the html form tag, it should be calling
> your_controller_name/dynamic_form (the path i gave you was for a restful
> action like create and update not for a custom action like the one you 
> have,
> sorry), what you have here is a custom action, but you can make it 
> restful
> like this
> 

Hi Radhames,

Its actually being called by the :onchange part of the form, using a 
remote function call like this:

:onchange => remote_function(:url => {:action => 'dynamic_form'}

Could i just assign values to the :page, :asceding and :per_page within 
this call?

Thanks for your help so far, I'm sure the solution will prove to be 
simple!!

Paul
-- 
Posted via http://www.ruby-forum.com/.

-- 
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 [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-talk?hl=en.

Reply via email to