<cfset theEventRequested = event.getvalue(event.getvalue
('eventname')) />

On Dec 21, 8:47 am, Preserved Killick <[email protected]> wrote:
> I've got a view page that used a GoogleMap api and it needs the a
> different body tag in my template. Rather than make a new template or
> event type, it seems simpler to have the template conditionally set
> the body tag for the one event that will need it.
>
> Something like:
>
> <cfif #event# is "page.directions">
> <body id="home" onunload="GUnload()">
> <cfelse>
> <body id="home">
> </cfif>
>
> Is the event name available to the view page?
>
> arguments.event.getValue("EventName") does not work.
>
> Of course, if there's a better way I'm all ears.
>
> -jeff

-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

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

Reply via email to