Title: dynamically calling eventname
Thread: dynamically calling eventname
Forum: Need Help?
If you change the EventName in your configuration from "event" to
something else (like "page" or "action") on an existing app, is there a way to
avoid having to manually change all of the links and such in my views?
example, in Model-Glue, you can do:
which will return "index.cfm?event="
and will take into account what the
event name is in your configuration.
So you can do:
= viewState.getValue('myself') />
And not have to worry about what the actual event name is
See this blog post:
Is there anything like that in Coldbox? I looked through
the docs and couldn't find anything.