<%= link_to_remote( "next calendar page",
             :update => "calendarpart",
             :loading  => "Hobo.showSpinner('Updating calendar...');",
             :complete => "Hobo.hideSpinner();",
             :url => { :action => :next_cal_page } )
        %>

You may have to add something into the url to tell it which cal page
you want to go to.

Then in the controller

  def next_cal_page

    @cal_page = **Magic to get the next calendar page here**

    render :partial => "calendarpart", :object => @cal_page
  end

Then in the partial _calendarpart.dryml

<%
  @calendar = calendarpart
%>

       <my-custom-calendar-defined-in-application-dryml/>

@calendar would be whatever object name the custom calendar code
expects the calendar to be in.

I do a lot of stuff like this.

Hope it helps :)



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