Luis Majano Forums Notification: Post to CFLOGIN

Title: RE: CFLOGIN
Thread: CFLOGIN
Forum: Discussions
Conference: ColdBox
User: ronanlucio

Luis,

Sorry, it was my fault.

I found out that I should redirect the flow
(setNextEvent) only after the closing tar (</cflogin>).

Now it´s working.
But I´m having another question about best practices:

Is it worth to use
inheritance from the coldbox.system.eventhandler in the model layer?

I´ll
explain: I created a model/login.cfc with the checkLogin() operation.
The
problem is some functions like getPlugin() and getSetting() aren´t there.
So I
need to extend it from coldbox.system.eventhandler.

What do you think about
that?

Thank you,
Ronan

http://www.luismajano.com/forums/index.cfm?event=ehMessages.dspMessages&threadid=8C96677E-123F-6116-42109FD87AB8B720