Cannot inject object with CFProperty

I am trying to get a login to work with the latest release of ColdBox
from ColdBox 3.0.0 M5-318-GENESIS-14:14

The cfproperty is not injecting my userService Model. The error
message coming back says.
USERSERVICE is undefined in a Java object of type class
[Ljava.lang.String;.
I have the model defined in ModelMappings.cfm
addModelMapping(alias="userService",path="userService");

Here is the handler
<cfcomponent output="false">
  <cfproperty name="userService" type="model:userService"
scope="instance" />

  <cffunction name="login" access="public" output="false"
returntype="void" hint="I perform user login">
    <cfargument name="event" required="true" />
    <cfset var rc = event.getCollection() />
    <cfset var msg = "" />
    <cfset var msgtype = "" />
    <cfset var loggedin =
instance.userService.login(username=rc.username,password=rc.password) /

    <cfif loggedin>
      <cfset msg="Welcome " & getAuthUser() & "!" />
      <cfset msgtype="info" />
    <cfelse>
      <cfset msg="Login failed. Please try again" />
      <cfset msgtype="warning"/>
    </cfif>
    <cfset getPlugin("messagebox").setMessage(type=msgtype,message=msg) /

    <cfset setNextEvent(event=getSetting("defaultEvent")) />
  </cffunction>

</cfcomponent>

Isn't the latest RC2?

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

From: coldbox@googlegroups.com [mailto:coldbox@googlegroups.com] On
Behalf Of murphyhg
Sent: Friday, 25 February 2011 12:55 PM
To: ColdBox Platform
Subject: [coldbox:8288] Cannot inject object with CFProperty

I am trying to get a login to work with the latest release of ColdBox from
ColdBox 3.0.0 M5-318-GENESIS-14:14

The cfproperty is not injecting my userService Model. The error message
coming back says.
USERSERVICE is undefined in a Java object of type class

[Ljava.lang.String;.

change the cfproperty from type="" to inject=""

Luis F. Majano
President
Ortus Solutions, Corp

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Luis, thanks my friend.
What is the correct syntax for this?
<cfproperty name="dsn" type="coldbox:datasource:myDSN"
scope="instance" />

datasource="?"

Thanks!

<cfproperty name="dsn" inject="coldbox:datasource:myDSN" scope="instance" />

"Type" became "inject" across the board regardless of what it is you're injecting.

~Brad