ColdBox Forums Notification: Post to Global variables

Title: RE: Global variables
Thread: Global variables
Forum: Need Help?
Conference: ColdBox
User: lmajano Hi,
As Sana mentioned, it is up to your requirements as of where to place your
global variables. If they are static properties, I would use the settings as
Sana showed above. That is the best way to handle application settings.

As
for your other question on the EventName, that can be anything you like. So if
you use "e" then a url would look like:

index.cfm?e=users.list

However,
you say:

if we do, then i assume that the argument name, "Event", need to be

changed as well, right?
<cfargument name="Event"
type="coldbox.system.beans.requestContext">

The answer is "NO". This is
completely separate. The argument you receive in the event handlers and the
eventName variable are two separate things. The name of the argument must remain
as "event" or else, weird things will happen.

Luis
http://www.luismajano.com/forums/index.cfm?event=ehMessages.dspMessages&threadid=70C8941A-FF65-CEF6-653AA4A7FFEC6FD5