It sounds like somewhere the variables are getting overriden. To debug this, I'd set up an onrequeststart event handler and dump all the values from the Model Glue event.
Likely, you'll find the spot where the variables are being defined. If not, keep moving the dump forward in the request flow, until you find it. There is no reason MG would cause full calendar to not work naturally. DW On Sep 1, 2012 3:43 PM, "Irvin Wilson" <[email protected]> wrote: > Having a bit of an issue with fullcalendar and Model-Glue. I have an > event that displays a view with fullcalendar embedded. If the javascript > for fullcalendar calls an event of "getCalendarData" the event will return > the json back to fullcalendar with no problem and thru normal model-glue > structure. In other words the event will fire and model glue will pick it > up, go to the model, back to controller/XML, and then to a view that just > dumps the json for fullcalendar to consume. > > The problem is to get this demo to work I have to hard-wire the start and > end dates coming in to getCalendarData. The controller is not picking > those up from fullcalendar's request. It seems as if the controller is > getting its info for getValue("start"), etc. from the "outside" event (the > one that displays the whole page containing the fullcalendar) rather than > the "inside" event called by fullcalendar from the view. Of course, > there's no such URL var in the outside event. Oddly, though, the info > requested (calendar data) if start/end hardwired is going back to > fullcalendar from the "inside" event with no problem on every change of the > calendar (new day, week, etc.) while sitting on the unchanging "outside" > event. > > I was hoping to keep the fullcalendar calls within the framework. Am I > missing something? > > Thank you! > > -- > Model-Glue Sites: > Home Page: http://www.model-glue.com > Documentation: http://docs.model-glue.com > Bug Tracker: http://bugs.model-glue.com > Blog: http://www.model-glue.com/blog > > You received this message because you are subscribed to the Google > Groups "model-glue" 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/model-glue?hl=en -- Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog You received this message because you are subscribed to the Google Groups "model-glue" 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/model-glue?hl=en
