Hmm, that doesn't look good. Can you confirm that you're using version 3.1.299? Open any CFM or CFC file under /ModelGlue and look for a VERSION INFORMATION line. If you see a line under it that looks like:
This file is part of Model-Glue blah blah blah ... (x.y.zzz) then the x.y.zzz is the release number. If you DON'T see a line like that, you may have an SVN version. I looked back at our developer notes for the feature and it matches what I described here, so if you're on the right version of Model-Glue I'm not sure why it wouldn't be working. On Wed, Aug 18, 2010 at 11:39 PM, Irv Wilson <[email protected]> wrote: > ok... so I did this.... > > <cfset var monthvalue = StructNew() /> > > <cfset monthvalue.thisCalMonth = DateFormat(DateAdd("M", 1, > thisCalMonthStart), "YYYY-MM-DD") /> > <cfset nextmonthlink = event.linkTo( "pcalendar", "thisCalMonth", > "",monthvalue) /> > > when I dump the var nextmonthlink I get > > index.cfm?event=pcalendar&thisCalMonth= > > yet when I dump the structure monthvalue I get > > struct > THISCALMONTH 2010-09-01 > > For some reason my event.linkTo does not see the value in this > structure. > > ?? > > > > On Aug 18, 1:16 pm, Irv Wilson <[email protected]> wrote: > > That's actually very similar to where I started. I've been toying with > > the idea of SES urls however and that's caused me to go back and make > > sure I'm creating all urls with event.linkto. Thus the issue. Thanks > > for the idea though! > > > > On Aug 18, 12:43 pm, Dan Wilson <[email protected]> wrote: > > > > > > > > > Irv, > > > > > If this were me, I'd just append the value, rather than forcing all the > link > > > assembly through linkTo() > > > > > Like so: > > > > > <cfset thisCalMonthStart= event.getValue( "thisCalMonth" ) /> > > > <cfset formattedPreviousDate = DateFormat(DateAdd("M", -1, > thisCalMonthStart), > > > "YYYY-MM-DD") /> > > > <cfset formattedNextDate = DateFormat(DateAdd("M", 1, > thisCalMonthStart), > > > "YYYY-MM-DD") /> > > > <cfset prevMonthLink = > > > '#event.linkTo("pcalendar")#&thisCalMonth=#formattedPreviousDate #' /> > > > <cfset nextMonthLink = > > > '#event.linkTo("pcalendar")#&thisCalMonth=#formattedNextDate #' /> > > > > > On Wed, Aug 18, 2010 at 2:51 PM, Irv Wilson <[email protected]> wrote: > > > > 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]<model-glue%[email protected]> > <model-glue%2bunsubscr...@googlegroups.com> > > > > For more options, visit this group at > > > >http://groups.google.com/group/model-glue?hl=en > > > > > -- > > > William Osler - "We are here to add what we can to life, not to get > what we > > > can from life."- Hide quoted text - > > > > > - Show quoted text -- Hide quoted text - > > > > - Show quoted text - > > -- > 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]<model-glue%[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
