Yes, it's been very very weird. It'll work then quit. Thank you for all
your help. It appears there's something wrong at the CFM (Railo) level.
Consider the following edit I made to the function so as to make a simple
test.
<cffunction name="getEvents" access="public" output="false"
returntype="Any" returnformat="JSON">
<cfargument name="event" type="any" />
<cfset var localvar = structNew() />
<cfset localvar.startdate = arguments.event.getValue("start") /><!---
from fullcalendar --->
<cfset localvar.enddate = arguments.event.getValue("end") /><!---
from fullcalendar --->
<!---<cfoutput><cfdump
var=#len(trim(localvar.startdate))#></cfoutput><cfabort />--->
<cfif len(trim(localvar.startdate))>
<cfset localvar.json_qryResults = '[{"id":14,"title":"I can see
start","start":1346495172,"allDay":false,"end":1346495500,"url":"\/index2.cfm"}]'
/>
<cfelse>
<cfset localvar.json_qryResults = '[{"id":14,"title":"I can NOT see
start","start":1346495172,"allDay":false,"end":1346495500,"url":"\/index1.cfm"}]'
/>
</cfif>
<cfset arguments.event.setValue("json_qryResults",
localvar.json_qryResults) />
</cffunction>
The above is a simple test. If len startdate then send back event "I can
see start". Simple enough. And, that's exactly what I get back so cifi
resolved as "true". If I uncomment the cfdump? 0 !! So, cfif len
returns true but a straight cfdump returns false! Time for a server
reboot. After that.... ????
On Sat, Sep 1, 2012 at 8:42 PM, Dan Wilson <[email protected]> wrote:
> Do you see the start and end date in the ColdFusion debugging?
>
> Like I said, either it isn't there in your request, or you are overwriting
> it somewhere in your code.
>
> DW
>
>
--
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