Chris,
It's what I use on one of my personal sites (http://spotstor.com) and
I also use it for a non-MG site for a client. It's a pretty
straightforward setup. Just throw the include for coldcourse.cfm
right after the <cfapplication> tag and then you can add the
following in onRequestStart:
<cfset arguments.event.setValue("myself","")>
That will allow ModelGlue to handle any result redirects properly.
With dot delimiters in events you may need to add something like the
following in the onQueueComplete method:
<cfset arguments.event.setValue("event",replace
(arguments.event.getValue("event"),".","/","ALL")>
That way you can use #viewstate.getValue("event")# in your views and
still have the URLs formatted the way you want.
HTH,
Jon
On May 16, 2007, at 3:00 PM, Peterson, Chris wrote:
> Jon,
>
> That is funny, because I had just downloaded Coldcourse and was trying
> to modify the regex in the file it had to suite my needs. I am a
> Model-Glue newbie, so I wasn't quite ready to add another layer of
> complexity on top of MG:U, but I may have to take a dive into it =)
>
> Thanks!
>
> Chris
>
> -----Original Message-----
> From: Jon Clausen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 16, 2007 2:52 PM
> To: CF-Talk
> Subject: Re: Yet another regex question
>
> Chris,
>
> Check out Coldcourse (http://coldcourse.riaforge.com) It has the
> IsapiRewrite4 .ini file in there and allows you to specify a
> controller.delimiter which should work for your dot notation for
> event handlers. You can also specify courses manually which will
> allow you to make something like:
>
> www.site.com/user/list/
>
> route to
>
> www.site.com/index.cfm?
> event=user.user.anyotheruser.callingallusers.list
>
>
> HTH,
>
> Jon
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2
Build sales & marketing dashboard RIAâs for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278333
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4