Hi All:

I have a working auto_actions_for as in:

class RealEstateFormsController < ApplicationController

  hobo_model_controller

  auto_actions :all

  auto_actions_for :real_estate_form_topic, [:create]

  downloads_files_for :real_estate_form, :documents

end

The only problem is that I can't seem to find an access point so that I can interface with <table-plus>'s sort and search functions on the real estate forms themselves (the real_estate_form_topics interface with their own <table-plus> stuff like they are supposed to (see below).

I have tried methods such as *index_for_real_estate_form*, *create_for_real_estate_form*, *index_for_real_estate_form_topic*, *create_for_real_estate_form_topic*, just plain *index* and *create*, and enough others that I can't remember them all in the RealEstateFormsController but the methods are never called.

In the RealEstateFormTopicsController controller, I can use the recipe I posted for TablePlusSupport as in:

class RealEstateFormTopicsController < ApplicationController

  hobo_model_controller

  auto_actions :all

  def index
    TablePlusSupport::save_param(params,:sort,session)
    TablePlusSupport::save_param(params,:search,session)
hobo_index RealEstateFormTopic.apply_scopes(:search => [params[:search],:name],
                                  :order_by =>
      parse_sort_param(:name)),
                     TablePlusSupport::save_page(params,10,session)
  end

I would like to do the same for the subset of the real_estate_forms that appears in the working page.

Any ideas?

Thanks,

Don Z.
end

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