basic log in failure

I am running into an issue with a basic log in structure, wondering if
anyone has any ideas?

I am calling the doLogin function on form submit, but when the uname
and pword comes back empty, it blows up? basically, I want to fail,
set a message and kick the user back to the log in page?

Application Execution Exception
Error Type: Expression : [N/A]
Error Messages: Variable CONTROLLER is undefined.

CODE::

<cfcomponent name="Login"
extends="cfcRetailHub.handlers.ApplicationHandlerHelper"
output="false" autowire="true">

<!------------------------------------------- CONSTRUCTOR
-------------------------------------------->

  <cfproperty name="AppShared" inject="Coldbox:Setting:AppShared"/>
  <cfproperty name="MessageBox"inject="Coldbox:Plugin:MessageBox"/>
  <cfproperty
name="SessionStorage"inject="Coldbox:Plugin:SessionStorage"/>

  <cffunction name="Init" output="false" returntype="Login">
     <cfreturn this>
  </cffunction>

<!----------------------------------------- IMPLICIT EVENTS
------------------------------------------>

<!------------------------------------------- PUBLIC EVENTS
------------------------------------------>

  <!---

Try using the event.getValue(frmPassword,'') this will set it to null or
empty if it is not sent across from the form as well.

As for the undefined variable controller, I don't see where you are using
that?

Regards,
Andrew Scott
http://www.andyscott.id.au/

From: coldbox@googlegroups.com [mailto:coldbox@googlegroups.com] On
Behalf Of chris hough
Sent: Saturday, 5 February 2011 4:37 AM
To: ColdBox Platform
Subject: [coldbox:7968] basic log in failure

I am running into an issue with a basic log in structure, wondering if

anyone

has any ideas?

I am calling the doLogin function on form submit, but when the uname and
pword comes back empty, it blows up? basically, I want to fail, set a

message