Hey Denny,
Thanks for submitting this patch. We appreciate involvement from the
community.
The changes below are sensible and clear. I'll load this and give it a test.
When it all passes, I'll commit it back into the repo.
Onn the topic of submitting patches, I think we'd prefer to use JIRA but I
don't have the link handy on this computer. (I'm in Bloomington, IN at the
fantastic BFlex conference). The one I have now appears not to be
functioning, which if that is true, means I'll have to give it a fix-up when
I get home.
Thanks again for submitting the patch.
Dan Wilson
On Fri, Sep 5, 2008 at 8:03 PM, denstar <[EMAIL PROTECTED]> wrote:
>
> 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 --->
>
> >
>
--
"Come to the edge, he said. They said: We are afraid. Come to the edge, he
said. They came. He pushed them and they flew."
Guillaume Apollinaire quotes
--~--~---------~--~----~------------~-------~--~----~
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 .
-~----------~----~----~----~------~----~------~--~---