I am sure this is not the right way, but the 'action' is nothing more than a 
variable. I was able to capture mine by using something like:

<cfset urlVar = arguments.event.getValue("action")>

----------------------------------------
From: Vicky <[EMAIL PROTECTED]>
Sent: Thursday, November 13, 2008 6:35 AM
To: [email protected]
Subject: [Model-Glue] Re: Dumb Question 

I will be curious to see the replies to this myself, if I'm grokking your 
question right.  I have just started picking up MG3, and I've been dealing with 
this the way I did in MG2...  but if I am understanding the docs correctly, 
there is perhaps a better way to do it now? I've been using eXit Events....  My 
MG.xml...<include name="body" template="templates/showTicketTemplate.cfm">
     <value name="xe.linkHistory" value="ShowHistory" />
 </include> 
In my showTicketTemplate.cfm... 

<cfset   xe.linkHistory = viewstate.getValue( "xe.linkHistory"  )  />
  <a   href=  "#myself##xe.LinkHistory#"  ><img   src=  
"#hackImage#historyTab.jpg"   /></a>
     Which of course refers back to the event in the MG.xml...

<event-handler name="ShowHistory"> 

Heck, there may be a better way in MG2 than I've been doing it.

 On Thu, Nov 13, 2008 at 9:16 AM, Wally Kolcz <[EMAIL PROTECTED]> wrote:

What is the way to grab the URL variable in the controller. Lets say I
have index.cfm?action=go.home and I want to use the 'go.home' in my

controller. how can I set that to a local variable? <cfset urlVar
= ?? />

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

Reply via email to