You're going to want to write your own URLManager. This is what event.linkTo() is making use of to return a properly formatted link. Look at the code inside /ModelGlue/gesture/eventrequest/url/SesUrlManager.cfc, adapt it as necessary to your own MyCustomSesUrlManager.cfc, and add it to your MG Config XML:
<bean id="modelglue.UrlManager" class="ModelGlue.gesture.eventrequest.url.MyCustomSesUrlManager"> <property name="modelGlue"><ref bean="modelglue.ModelGlue" /></property> </bean> On Wed, Sep 10, 2008 at 12:40 AM, cfCharlie <[EMAIL PROTECTED]> wrote: > > I would like to get rid of "index.cfm" from showing up in my > event.linkto(some MG event handler) links. For example > event.linkto(event1) = http://www.domain.com/index.cfm/event1 but I > want http://www.domain.com/event1. I am already using a IIRF URL > rewriter to avoid having to show "index.cfm" in the URL and just > wondering the easy/best way to automagically achieve this with > event.linkto(). > > Thanks > > > --~--~---------~--~----~------------~-------~--~----~ 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 . -~----------~----~----~----~------~----~------~--~---
