search for: embed_calendar

Displaying 2 results from an estimated 2 matches for "embed_calendar".

2006 Jul 20
1
Ajax and observe_field not updating specified DIV
...39;'m using observe_field on to make an ajax call back to my controller. The page initially displays fine. The method is invoked in my controller when i select a choice in the dropdown and I have an rjs file which is then invoked. The rjs file looks like this: page.replace_html ''embed_calendar'', :partial => ''shared/calendar'', :year => 2006, :month => 5, :table_class => "calendar_helper" So, I''m assuming that the _calendar.rhtml will be rendered in the embed_calendar div. My controller uses a template called main so i have a ma...
2006 Jul 20
0
RJS and calendar_helper troubles .... tab characters covering web page
...tement ( try {} catch{} block ). We tried everything and cannot seem to resolve. Anyone have any ideas? below are snippets: calendar_controller.rb def modify_month_view set_calendar_dropdowns(request.raw_post, ''2006'') modify_month_view.rjs page.replace_html ''embed_calendar'', :partial => ''shared/calendar'', :year => 2006, :month => 5 shared/_calendar.rhtml partial <hr> <%= calendar({:year => 2006, :month => 11, :table_class => "my_calendar_helper"}) do |d|...