Bud,

Check out coldcourse, it does SES url's great and works fine with MG2 (I
have a very large site running with this now, and have had no problem
implementing any permutation of url that I need with it)

If nothing else, check out how they did it in their source, so you can roll
your own.

Chris Peterson


On 4/8/09 8:58 AM, "Bud" <[email protected]> wrote:

> 
> Hi. I'm new at MG. I'm trying to get MG 2 to work with search engine
> safe URLs. I've built a simple method to add to the controller that is
> called onRequestStart. The method uses the event.setValue() function
> to set the name/value pairs. They all get set properly, however the
> event-handler does not call the correct event.
> 
> If I use page.cfm?event=test the event handler "test" is called. But
> if I use page.cfm/event/test/, the default event handler is called,
> even though a dump of event.getAll() shows that event has been set to
> "test".
> 
> Why is this? A developer comment inside the Controller says "Any
> function set up to listen for the onRequestStart message happens
> before any of the <event-handlers>."
> 
> Any workaround with this? I see that MG 3 has a URL manager but I'd
> prefer to wirk with MG 2 until MG 3 is out of beta.
> 
> Thanks. I'm looking forward to getting my feet wet with MG. I've been
> hacking my way through without any real structure for about 10 years,
> so it's way overdue.
> 
> Bud
> 
> > 



--~--~---------~--~----~------------~-------~--~----~
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

For more about Model-Glue, check http://www.model-glue.com .
-~----------~----~----~----~------~----~------~--~---

Reply via email to