Luis Majano Forums Notification: Post to getRequestService().getContext() problem

Title: getRequestService().getContext() problem
Thread: getRequestService().getContext() problem
Forum: Need Help?
Conference: ColdBox
User: xionic

Hello,

Here is my problem :

I've created my own plugin.
It has a method
(Yey!)

Inside of this method i have :

<cfset Context
=controller.getRequestService().getContext()>

Because i need to call ::
Context.getValue("event")

Now the problem is :

If the cache of this
component is set to false everything is working just fine.
But, when i set it
to true, the plugin works only one time just after the restart of Coldfusion
server. Next reloads of the page always invoke the error on getRequestService()
method (no such method).

What am i doing wrong ?

http://www.luismajano.com/forums/index.cfm?event=ehMessages.dspMessages&threadid=98063223-123F-6116-4279CDD95003BA5D