Actually was kind of simple (I think). The problem I'm having with
the below is I think of event.setValue as something sort of permanent
that I'm sending back to the view instead of a "throw away" to make
the two links...
<cfset event.setValue(thisCalMonth, DateFormat(DateAdd("M", -1,
thisCalMonthStart), "YYYY-MM-DD") />
<cfset prevmonthlink = event.linkTo( "pcalendar", thisCalMonth />
<cfset event.setValue(thisCalMonth, DateFormat(DateAdd("M", 1,
thisCalMonthStart), "YYYY-MM-DD") />
<cfset nextmonthlink = event.linkTo( "pcalendar", thisCalMonth />
--
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