It's ok guys, I'd forgotten to extend ModelGlue.unity.controller.Controller.

Doh!

Thanks,

Rob

-----Original Message-----
From: Robert Rawlins - Think Blue
[mailto:[EMAIL PROTECTED] 
Sent: 05 April 2007 14:57
To: CF-Talk
Subject: Stange Controller Issues (MG)

Hey guys,

 

I'm having trouble trying to implement a security controller into my MG
application. It hasn't even got any functions in it yet, but it keeps
crashing my app, no errors, just a blank screen in front of me.

 

Here is my model-glue.xml definition for the controller.

 

            <controller name="SecurityController"
type="Controller.Security">

            </controller>

 

And the code from within the Security.cfc

 

<cfcomponent name="Security" displayname="Security Controller" hint="I
handle security integration." output="false">

      

      <cffunction name="onRequestStart" access="public" returnType="void"
output="false">

            <cfargument name="Event" required="true" type="any" hint="The
event that initiate the contorller method" />

      </cffunction>

 

      <cffunction name="onQueueComplete" access="public" returnType="void"
output="false">

            <cfargument name="Event" required="true" type="any" hint="The
event that initiate the contorller method" />

      </cffunction>

 

      <cffunction name="onRequestEnd" access="public" returnType="void"
output="false">

            <cfargument name="Event" required="true" type="any" hint="The
event that initiate the contorller method" />

      </cffunction>

      

</cfcomponent>

 

Any ideas why this is causing me problems? As soon as I remove the
controller reference from the XML, it works just fine.

 

Thanks,

 

Rob





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274605
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to