Hi Yall,

Ran into a little trouble using Railo with MG3, there was a var called
"url", which seems to conflict with the scope by the same name.

Below is a little patch that seemed to fix it for me.

Thanks,
  Denny

- PS  Is this the best place to submit patches and whatnot?


Index: ModelGlue3/ModelGlue/gesture/eventrequest/EventContext.cfc
===================================================================
--- ModelGlue3/ModelGlue/gesture/eventrequest/EventContext.cfc  (revision 109)
+++ ModelGlue3/ModelGlue/gesture/eventrequest/EventContext.cfc  (working copy)
@@ -532,9 +532,8 @@
                
        <cfset var urlManager =
variables._modelglue.getInternalBean("modelglue.urlManager") />
        
-       <cfset var url = urlManager.linkTo(arguments.eventName,
arguments.append, arguments.anchor, this) />
-       
-       <cfset forwardToUrl(url, arguments.preserveState, arguments.addToken) />
+       <cfset var targeturl = urlManager.linkTo(arguments.eventName,
arguments.append, arguments.anchor, this) />
+       <cfset forwardToUrl(targeturl, arguments.preserveState,
arguments.addToken) />
 </cffunction>

 <!--- STATE (DATA BUS) MANAGEMENT --->

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