Greetings,
I'm trying to create a bean, but keep getting a Bean Definition not
found error:
*********************************************************************************************
I have the following file HonorsBean.cfc with the bean defintion:
*********************************************************************************************
<cfcomponent
displayname="HonorsBean"
output="false"
hint="A bean which models the HonorsBean form.">
<!---
PROPERTIES
--->
<cfset variables.instance = StructNew() />
<!---
INITIALIZATION / CONFIGURATION
--->
<cffunction name="init" access="public"
returntype="developers.cliff.honors.model.HonorsBean" output="false">
<cfargument name="ID" type="numeric" required="false"
default="0" />
<cfargument name="SID" type="numeric" required="false"
default="0" /
>
<cfargument name="LASTNAME" type="string" required="false"
default="" />
<cfargument name="FIRSTNAME" type="string" required="false"
default="" />
<cfargument name="MIDDLEINIT" type="string" required="false"
default="" />
<cfargument name="ADDRESS1" type="string" required="false"
default="" />
<cfargument name="ADDRESS2" type="string" required="false"
default="" />
<cfargument name="CITY" type="string" required="false"
default="" />
<cfargument name="STATE" type="string" required="false"
default="" /
>
<cfargument name="ZIP" type="string" required="false"
default="" />
<cfargument name="COUNTRY" type="string" required="false"
default="" />
<cfargument name="PHONE" type="string" required="false"
default="" /
>
<cfargument name="EMAIL" type="string" required="false"
default="" /
>
<cfargument name="ACT_ENGLISH" type="numeric" required="false"
default="0" />
<cfargument name="ACT_MATH" type="numeric" required="false"
default="0" />
<cfargument name="ACT_READING" type="numeric" required="false"
default="0" />
<cfargument name="ACT_SCIENCE" type="numeric" required="false"
default="0" />
<cfargument name="ACT_COMPOSITE" type="numeric" required="false"
default="0" />
<cfargument name="SAT_VERBAL" type="numeric" required="false"
default="0" />
<cfargument name="SAT_MATH" type="numeric" required="false"
default="0" />
<cfargument name="SAT_TOTAL" type="numeric" required="false"
default="0" />
<cfargument name="ENTRY_TYPE" type="numeric" required="false"
default="0" />
<cfargument name="HIGH_SCHOOL_ATTENDED" type="string"
required="false" default="" />
<cfargument name="PREV_COLLEGE_ATTENDED" type="string"
required="false" default="" />
<cfargument name="CLASSIFICATION" type="string" required="false"
default="" />
<cfargument name="GRADUATE_date" type="string" required="false"
default="#Now()#" />
<cfargument name="GPA" type="numeric" required="false"
default="0" /
>
<cfargument name="CLASS_RANKING_SIZE" type="string"
required="false"
default="" />
<cfargument name="MAJOR" type="string" required="false"
default="" /
>
<cfargument name="MINOR" type="string" required="false"
default="" /
>
<cfargument name="CAREER_OBJECTIVE" type="string"
required="false"
default="" />
<cfargument name="PERSONAL_STATEMENT" type="string"
required="false"
default="" />
<cfargument name="LETTER1" type="string" required="false"
default="" />
<cfargument name="LETTER2" type="string" required="false"
default="" />
<cfargument name="HONORS_WORK" type="string" required="false"
default="#Now()#" />
<cfargument name="date_ENTERED" type="string" required="false"
default="#Now()#" />
<cfargument name="date_MODIFIED" type="string" required="false"
default="#Now()#" />
<cfargument name="ENTERED_BY" type="string" required="false"
default="" />
<cfargument name="MENTOR_EMAIL1 string" type="string"
required="false" default="" />
<cfargument name="MENTOR_EMAIL2 string" type="string"
required="false" default="" />
<cfargument name="MENTOR_CODE1 string" type="string"
required="false" default="" />
<cfargument name="MENTOR_CODE2" type="string" required="false"
default="" />
<!--- run setters --->
<cfset setID(arguments.ID) />
<cfset setSID(arguments.SID) />
<cfset setLASTNAME(arguments.LASTNAME) />
<cfset setFIRSTNAME(arguments.FIRSTNAME) />
<cfset setMIDDLEINIT(arguments.MIDDLEINIT) />
<cfset setADDRESS1(arguments.ADDRESS1) />
<cfset setADDRESS2(arguments.ADDRESS2) />
<cfset setCITY(arguments.CITY) />
<cfset setSTATE(arguments.STATE) />
<cfset setZIP(arguments.ZIP) />
<cfset setCOUNTRY(arguments.COUNTRY) />
<cfset setPHONE(arguments.PHONE) />
<cfset setEMAIL(arguments.EMAIL) />
<cfset setACT_ENGLISH(arguments.ACT_ENGLISH) />
<cfset setACT_MATH(arguments.ACT_MATH) />
<cfset setACT_READING(arguments.ACT_READING) />
<cfset setACT_SCIENCE(arguments.ACT_SCIENCE) />
<cfset setACT_COMPOSITE(arguments.ACT_COMPOSITE) />
<cfset setSAT_VERBAL(arguments.SAT_VERBAL) />
<cfset setSAT_MATH(arguments.SAT_MATH) />
<cfset setSAT_TOTAL(arguments.SAT_TOTAL) />
<cfset setENTRY_TYPE(arguments.ENTRY_TYPE) />
<cfset setHIGH_SCHOOL_ATTENDED(arguments.HIGH_SCHOOL_ATTENDED)
/>
<cfset
setPREV_COLLEGE_ATTENDED(arguments.PREV_COLLEGE_ATTENDED) />
<cfset setCLASSIFICATION(arguments.CLASSIFICATION) />
<cfset setGRADUATE_date(arguments.GRADUATE_date) />
<cfset setGPA(arguments.GPA) />
<cfset setCLASS_RANKING_SIZE(arguments.CLASS_RANKING_SIZE) />
<cfset setMAJOR(arguments.MAJOR) />
<cfset setMINOR(arguments.MINOR) />
<cfset setCAREER_OBJECTIVE(arguments.CAREER_OBJECTIVE) />
<cfset setPERSONAL_STATEMENT(arguments.PERSONAL_STATEMENT) />
<cfset setLETTER1(arguments.LETTER1) />
<cfset setLETTER2(arguments.LETTER2) />
<cfset setHONORS_WORK(arguments.HONORS_WORK) />
<cfset setDate_ENTERED(arguments.date_ENTERED) />
<cfset setDate_MODIFIED(arguments.date_MODIFIED) />
<cfset setENTERED_BY(arguments.ENTERED_BY) />
<cfset setMENTOR_EMAIL1 string(arguments.MENTOR_EMAIL1 string)
/>
<cfset setMENTOR_EMAIL2 string(arguments.MENTOR_EMAIL2 string)
/>
<cfset setMENTOR_CODE1 string(arguments.MENTOR_CODE1 string)
/>
<cfset setMENTOR_CODE2(arguments.MENTOR_CODE2) />
<cfreturn this />
</cffunction>
<!---
PUBLIC FUNCTIONS
---> <cffunction name="getMemento" access="public"returntype="struct"
output="false" >
<cfreturn variables.instance />
</cffunction>
<cffunction name="validate" access="public" returntype="errorHandler"
output="false">
</cffunction>
<!---
ACCESSORS
--->
<cffunction name="setID" access="public" returntype="void"
output="false">
<cfargument name="ID" type="numeric" required="true" />
<cfset variables.instance.ID = trim(arguments.ID) />
</cffunction>
<cffunction name="getID" access="public" returntype="numeric"
output="false">
<cfreturn variables.instance.ID />
</cffunction>
<cffunction name="setSID" access="public" returntype="void"
output="false">
<cfargument name="SID" type="numeric" required="true" />
<cfset variables.instance.SID = trim(arguments.SID) />
</cffunction>
<cffunction name="getSID" access="public" returntype="numeric"
output="false">
<cfreturn variables.instance.SID />
</cffunction>
<cffunction name="setLASTNAME" access="public" returntype="void"
output="false">
<cfargument name="LASTNAME" type="string" required="true" />
<cfset variables.instance.LASTNAME = arguments.LASTNAME />
</cffunction>
<cffunction name="getLASTNAME" access="public" returntype="string"
output="false">
<cfreturn variables.instance.LASTNAME />
</cffunction>
<cffunction name="setFIRSTNAME" access="public" returntype="void"
output="false">
<cfargument name="FIRSTNAME" type="string" required="true" />
<cfset variables.instance.FIRSTNAME = arguments.FIRSTNAME />
</cffunction>
<cffunction name="getFIRSTNAME" access="public" returntype="string"
output="false">
<cfreturn variables.instance.FIRSTNAME />
</cffunction>
<cffunction name="setMIDDLEINIT" access="public" returntype="void"
output="false">
<cfargument name="MIDDLEINIT" type="string" required="true" />
<cfset variables.instance.MIDDLEINIT = arguments.MIDDLEINIT />
</cffunction>
<cffunction name="getMIDDLEINIT" access="public" returntype="string"
output="false">
<cfreturn variables.instance.MIDDLEINIT />
</cffunction>
<cffunction name="setADDRESS1" access="public" returntype="void"
output="false">
<cfargument name="ADDRESS1" type="string" required="true" />
<cfset variables.instance.ADDRESS1 = arguments.ADDRESS1 />
</cffunction>
<cffunction name="getADDRESS1" access="public" returntype="string"
output="false">
<cfreturn variables.instance.ADDRESS1 />
</cffunction>
<cffunction name="setADDRESS2" access="public" returntype="void"
output="false">
<cfargument name="ADDRESS2" type="string" required="true" />
<cfset variables.instance.ADDRESS2 = arguments.ADDRESS2 />
</cffunction>
<cffunction name="getADDRESS2" access="public" returntype="string"
output="false">
<cfreturn variables.instance.ADDRESS2 />
</cffunction>
<cffunction name="setCITY" access="public" returntype="void"
output="false">
<cfargument name="CITY" type="string" required="true" />
<cfset variables.instance.CITY = arguments.CITY />
</cffunction>
<cffunction name="getCITY" access="public" returntype="string"
output="false">
<cfreturn variables.instance.CITY />
</cffunction>
<cffunction name="setSTATE" access="public" returntype="void"
output="false">
<cfargument name="STATE" type="string" required="true" />
<cfset variables.instance.STATE = arguments.STATE />
</cffunction>
<cffunction name="getSTATE" access="public" returntype="string"
output="false">
<cfreturn variables.instance.STATE />
</cffunction>
<cffunction name="setZIP" access="public" returntype="void"
output="false">
<cfargument name="ZIP" type="string" required="true" />
<cfset variables.instance.ZIP = arguments.ZIP />
</cffunction>
<cffunction name="getZIP" access="public" returntype="string"
output="false">
<cfreturn variables.instance.ZIP />
</cffunction>
<cffunction name="setCOUNTRY" access="public" returntype="void"
output="false">
<cfargument name="COUNTRY" type="string" required="true" />
<cfset variables.instance.COUNTRY = arguments.COUNTRY />
</cffunction>
<cffunction name="getCOUNTRY" access="public" returntype="string"
output="false">
<cfreturn variables.instance.COUNTRY />
</cffunction>
<cffunction name="setPHONE" access="public" returntype="void"
output="false">
<cfargument name="PHONE" type="string" required="true" />
<cfset variables.instance.PHONE = arguments.PHONE />
</cffunction>
<cffunction name="getPHONE" access="public" returntype="string"
output="false">
<cfreturn variables.instance.PHONE />
</cffunction>
<cffunction name="setEMAIL" access="public" returntype="void"
output="false">
<cfargument name="EMAIL" type="string" required="true" />
<cfset variables.instance.EMAIL = arguments.EMAIL />
</cffunction>
<cffunction name="getEMAIL" access="public" returntype="string"
output="false">
<cfreturn variables.instance.EMAIL />
</cffunction>
<cffunction name="setACT_ENGLISH" access="public" returntype="void"
output="false">
<cfargument name="ACT_ENGLISH" type="numeric" required="true" />
<cfset variables.instance.ACT_ENGLISH =
trim(arguments.ACT_ENGLISH) /
>
</cffunction>
<cffunction name="getACT_ENGLISH" access="public"
returntype="numeric" output="false">
<cfreturn variables.instance.ACT_ENGLISH />
</cffunction>
<cffunction name="setACT_MATH" access="public" returntype="void"
output="false">
<cfargument name="ACT_MATH" type="numeric" required="true" />
<cfset variables.instance.ACT_MATH = trim(arguments.ACT_MATH) />
</cffunction>
<cffunction name="getACT_MATH" access="public" returntype="numeric"
output="false">
<cfreturn variables.instance.ACT_MATH />
</cffunction>
<cffunction name="setACT_READING" access="public" returntype="void"
output="false">
<cfargument name="ACT_READING" type="numeric" required="true" />
<cfset variables.instance.ACT_READING =
trim(arguments.ACT_READING) /
>
</cffunction>
<cffunction name="getACT_READING" access="public"
returntype="numeric" output="false">
<cfreturn variables.instance.ACT_READING />
</cffunction>
<cffunction name="setACT_SCIENCE" access="public" returntype="void"
output="false">
<cfargument name="ACT_SCIENCE" type="numeric" required="true" />
<cfset variables.instance.ACT_SCIENCE =
trim(arguments.ACT_SCIENCE) /
>
</cffunction>
<cffunction name="getACT_SCIENCE" access="public"
returntype="numeric" output="false">
<cfreturn variables.instance.ACT_SCIENCE />
</cffunction>
<cffunction name="setACT_COMPOSITE" access="public" returntype="void"
output="false">
<cfargument name="ACT_COMPOSITE" type="numeric" required="true"
/>
<cfset variables.instance.ACT_COMPOSITE =
trim(arguments.ACT_COMPOSITE) />
</cffunction>
<cffunction name="getACT_COMPOSITE" access="public"
returntype="numeric" output="false">
<cfreturn variables.instance.ACT_COMPOSITE />
</cffunction>
<cffunction name="setSAT_VERBAL" access="public" returntype="void"
output="false">
<cfargument name="SAT_VERBAL" type="numeric" required="true" />
<cfset variables.instance.SAT_VERBAL =
trim(arguments.SAT_VERBAL) />
</cffunction>
<cffunction name="getSAT_VERBAL" access="public" returntype="numeric"
output="false">
<cfreturn variables.instance.SAT_VERBAL />
</cffunction>
<cffunction name="setSAT_MATH" access="public" returntype="void"
output="false">
<cfargument name="SAT_MATH" type="numeric" required="true" />
<cfset variables.instance.SAT_MATH = trim(arguments.SAT_MATH) />
</cffunction>
<cffunction name="getSAT_MATH" access="public" returntype="numeric"
output="false">
<cfreturn variables.instance.SAT_MATH />
</cffunction>
<cffunction name="setSAT_TOTAL" access="public" returntype="void"
output="false">
<cfargument name="SAT_TOTAL" type="numeric" required="true" />
<cfset variables.instance.SAT_TOTAL = trim(arguments.SAT_TOTAL)
/>
</cffunction>
<cffunction name="getSAT_TOTAL" access="public" returntype="numeric"
output="false">
<cfreturn variables.instance.SAT_TOTAL />
</cffunction>
<cffunction name="setENTRY_TYPE" access="public" returntype="void"
output="false">
<cfargument name="ENTRY_TYPE" type="numeric" required="true" />
<cfset variables.instance.ENTRY_TYPE =
trim(arguments.ENTRY_TYPE) />
</cffunction>
<cffunction name="getENTRY_TYPE" access="public" returntype="numeric"
output="false">
<cfreturn variables.instance.ENTRY_TYPE />
</cffunction>
<cffunction name="setHIGH_SCHOOL_ATTENDED" access="public"
returntype="void" output="false">
<cfargument name="HIGH_SCHOOL_ATTENDED" type="string"
required="true" />
<cfset variables.instance.HIGH_SCHOOL_ATTENDED =
arguments.HIGH_SCHOOL_ATTENDED />
</cffunction>
<cffunction name="getHIGH_SCHOOL_ATTENDED" access="public"
returntype="string" output="false">
<cfreturn variables.instance.HIGH_SCHOOL_ATTENDED />
</cffunction>
<cffunction name="setPREV_COLLEGE_ATTENDED" access="public"
returntype="void" output="false">
<cfargument name="PREV_COLLEGE_ATTENDED" type="string"
required="true" />
<cfset variables.instance.PREV_COLLEGE_ATTENDED =
arguments.PREV_COLLEGE_ATTENDED />
</cffunction>
<cffunction name="getPREV_COLLEGE_ATTENDED" access="public"
returntype="string" output="false">
<cfreturn variables.instance.PREV_COLLEGE_ATTENDED />
</cffunction>
<cffunction name="setCLASSIFICATION" access="public"
returntype="void" output="false">
<cfargument name="CLASSIFICATION" type="string" required="true"
/>
<cfset variables.instance.CLASSIFICATION =
arguments.CLASSIFICATION /
>
</cffunction>
<cffunction name="getCLASSIFICATION" access="public"
returntype="string" output="false">
<cfreturn variables.instance.CLASSIFICATION />
</cffunction>
<cffunction name="setGRADUATE_date" access="public" returntype="void"
output="false">
<cfargument name="GRADUATE_date" type="string" required="true"
/>
<cfif isDate(arguments.GRADUATE_date)>
<cfset arguments.GRADUATE_date =
dateformat(arguments.GRADUATE_date,"MM/DD/YYYY") />
</cfif>
<cfset variables.instance.GRADUATE_date =
trim(arguments.GRADUATE_date) />
</cffunction>
<cffunction name="getGRADUATE_date" access="public"
returntype="string" output="false">
<cfreturn variables.instance.GRADUATE_date />
</cffunction>
<cffunction name="setGPA" access="public" returntype="void"
output="false">
<cfargument name="GPA" type="numeric" required="true" />
<cfset variables.instance.GPA = trim(arguments.GPA) />
</cffunction>
<cffunction name="getGPA" access="public" returntype="numeric"
output="false">
<cfreturn variables.instance.GPA />
</cffunction>
<cffunction name="setCLASS_RANKING_SIZE" access="public"
returntype="void" output="false">
<cfargument name="CLASS_RANKING_SIZE" type="string"
required="true" /
>
<cfset variables.instance.CLASS_RANKING_SIZE =
arguments.CLASS_RANKING_SIZE />
</cffunction>
<cffunction name="getCLASS_RANKING_SIZE" access="public"
returntype="string" output="false">
<cfreturn variables.instance.CLASS_RANKING_SIZE />
</cffunction>
<cffunction name="setMAJOR" access="public" returntype="void"
output="false">
<cfargument name="MAJOR" type="string" required="true" />
<cfset variables.instance.MAJOR = arguments.MAJOR />
</cffunction>
<cffunction name="getMAJOR" access="public" returntype="string"
output="false">
<cfreturn variables.instance.MAJOR />
</cffunction>
<cffunction name="setMINOR" access="public" returntype="void"
output="false">
<cfargument name="MINOR" type="string" required="true" />
<cfset variables.instance.MINOR = arguments.MINOR />
</cffunction>
<cffunction name="getMINOR" access="public" returntype="string"
output="false">
<cfreturn variables.instance.MINOR />
</cffunction>
<cffunction name="setCAREER_OBJECTIVE" access="public"
returntype="void" output="false">
<cfargument name="CAREER_OBJECTIVE" type="string"
required="true" />
<cfset variables.instance.CAREER_OBJECTIVE =
arguments.CAREER_OBJECTIVE />
</cffunction>
<cffunction name="getCAREER_OBJECTIVE" access="public"
returntype="string" output="false">
<cfreturn variables.instance.CAREER_OBJECTIVE />
</cffunction>
<cffunction name="setPERSONAL_STATEMENT" access="public"
returntype="void" output="false">
<cfargument name="PERSONAL_STATEMENT" type="string"
required="true" /
>
<cfset variables.instance.PERSONAL_STATEMENT =
arguments.PERSONAL_STATEMENT />
</cffunction>
<cffunction name="getPERSONAL_STATEMENT" access="public"
returntype="string" output="false">
<cfreturn variables.instance.PERSONAL_STATEMENT />
</cffunction>
<cffunction name="setLETTER1" access="public" returntype="void"
output="false">
<cfargument name="LETTER1" type="string" required="true" />
<cfset variables.instance.LETTER1 = arguments.LETTER1 />
</cffunction>
<cffunction name="getLETTER1" access="public" returntype="string"
output="false">
<cfreturn variables.instance.LETTER1 />
</cffunction>
<cffunction name="setLETTER2" access="public" returntype="void"
output="false">
<cfargument name="LETTER2" type="string" required="true" />
<cfset variables.instance.LETTER2 = arguments.LETTER2 />
</cffunction>
<cffunction name="getLETTER2" access="public" returntype="string"
output="false">
<cfreturn variables.instance.LETTER2 />
</cffunction>
<cffunction name="setHONORS_WORK" access="public" returntype="void"
output="false">
<cfargument name="HONORS_WORK" type="string" required="true" />
<cfif isDate(arguments.HONORS_WORK)>
<cfset arguments.HONORS_WORK =
dateformat(arguments.HONORS_WORK,"MM/
DD/YYYY") />
</cfif>
<cfset variables.instance.HONORS_WORK =
trim(arguments.HONORS_WORK) /
>
</cffunction>
<cffunction name="getHONORS_WORK" access="public" returntype="string"
output="false">
<cfreturn variables.instance.HONORS_WORK />
</cffunction>
<cffunction name="setDate_ENTERED" access="public" returntype="void"
output="false">
<cfargument name="date_ENTERED" type="string" required="true" />
<cfif isDate(arguments.date_ENTERED)>
<cfset arguments.date_ENTERED =
dateformat(arguments.date_ENTERED,"MM/DD/YYYY") />
</cfif>
<cfset variables.instance.date_ENTERED =
trim(arguments.date_ENTERED) />
</cffunction>
<cffunction name="getDate_ENTERED" access="public"
returntype="string" output="false">
<cfreturn variables.instance.date_ENTERED />
</cffunction>
<cffunction name="setDate_MODIFIED" access="public" returntype="void"
output="false">
<cfargument name="date_MODIFIED" type="string" required="true"
/>
<cfif isDate(arguments.date_MODIFIED)>
<cfset arguments.date_MODIFIED =
dateformat(arguments.date_MODIFIED,"MM/DD/YYYY") />
</cfif>
<cfset variables.instance.date_MODIFIED =
trim(arguments.date_MODIFIED) />
</cffunction>
<cffunction name="getDate_MODIFIED" access="public"
returntype="string" output="false">
<cfreturn variables.instance.date_MODIFIED />
</cffunction>
<cffunction name="setENTERED_BY" access="public" returntype="void"
output="false">
<cfargument name="ENTERED_BY" type="string" required="true" />
<cfset variables.instance.ENTERED_BY = arguments.ENTERED_BY />
</cffunction>
<cffunction name="getENTERED_BY" access="public" returntype="string"
output="false">
<cfreturn variables.instance.ENTERED_BY />
</cffunction>
<cffunction name="setMENTOR_EMAIL1 string" access="public"
returntype="void" output="false">
<cfargument name="MENTOR_EMAIL1 string" type="string"
required="true" />
<cfset variables.instance.MENTOR_EMAIL1 string =
arguments.MENTOR_EMAIL1 string />
</cffunction>
<cffunction name="getMENTOR_EMAIL1 string" access="public"
returntype="string" output="false">
<cfreturn variables.instance.MENTOR_EMAIL1 string />
</cffunction>
<cffunction name="setMENTOR_EMAIL2 string" access="public"
returntype="void" output="false">
<cfargument name="MENTOR_EMAIL2 string" type="string"
required="true" />
<cfset variables.instance.MENTOR_EMAIL2 string =
arguments.MENTOR_EMAIL2 string />
</cffunction>
<cffunction name="getMENTOR_EMAIL2 string" access="public"
returntype="string" output="false">
<cfreturn variables.instance.MENTOR_EMAIL2 string />
</cffunction>
<cffunction name="setMENTOR_CODE1 string" access="public"
returntype="void" output="false">
<cfargument name="MENTOR_CODE1 string" type="string"
required="true" />
<cfset variables.instance.MENTOR_CODE1 string =
arguments.MENTOR_CODE1 string />
</cffunction>
<cffunction name="getMENTOR_CODE1 string" access="public"
returntype="string" output="false">
<cfreturn variables.instance.MENTOR_CODE1 string />
</cffunction>
<cffunction name="setMENTOR_CODE2" access="public" returntype="void"
output="false">
<cfargument name="MENTOR_CODE2" type="string" required="true" />
<cfset variables.instance.MENTOR_CODE2 = arguments.MENTOR_CODE2
/>
</cffunction>
<cffunction name="getMENTOR_CODE2" access="public"
returntype="string" output="false">
<cfreturn variables.instance.MENTOR_CODE2 />
</cffunction>
</cfcomponent>
*******************************************************************
I've got the following definition in my coldspring.xml : and the path
where honorsbean.cfc is physically located is:
<webroot>/developers/cliff/honors/model/
*************************************************************************************************************************
<beans>
<!-- This is your Model-Glue configuration -->
<bean id="modelglue.modelGlueConfiguration"
class="ModelGlue.gesture.configuration.ModelGlueConfiguration">
<bean id="HonorsBean" class="developers.cliff.honors.model.HonorsBean"
singleton="false" />
<bean id="auth" class="org.utpa.common.auth" />
<!-- Be sure to change these to false when you go to production! -->
<property name="reload"><value>true</value></property>
<property name="debug"><value>true</value></property>
<!-- Name of the URL variable that states which event-handler to run
-->
<property name="eventValue"><value>event</value></property>
<!-- Default event-handler -->
<property name="defaultEvent"><value>default</value></property>
<!-- Execute this event when the requested event is missing. Won't
work if generationEnabled=true and in development mode! -->
<property name="missingEvent"><value>page.missing</value></property>
<!-- Execute this event when an error occurs. -->
<property name="defaultExceptionHandler"><value>page.error</value></
property>
<!-- Controls reloading -->
<property name="reloadPassword"><value>true</value></property>
<property name="reloadKey"><value>init</value></property>
<!-- Where to find necessary files -->
<property name="configurationPath"><value>config/ModelGlue.xml</
value></property>
<property name="applicationMapping"><value>/developers/cliff/honors</
value></property>
<property name="viewMappings"><value>/developers/cliff/honors/views</
value></property>
<property name="helperMappings"><value>/developers/cliff/honors/
helpers</value></property>
<!-- Generate unknown events when in development mode?
(reload=false) -->
<property name="generationEnabled"><value>false</value></property>
<!-- Set the default cache timeout in seconds -->
<property name="defaultCacheTimeout"><value>60</value></property>
<!-- Scaffolding config -->
<!-- Turning this off will disable any scaffold generation. Turning
this on requires the reload setting above to also be on.-->
<property name="rescaffold"><value>true</value></property>
<!-- Where do you want generated views to be saved to? -->
<property name="generatedViewMapping"><value>views</value></property>
<!--This directory structure should already exists. ModelGlue will
create the Scaffolds.xml file and overwrite as needed.-->
<property name="scaffoldPath"><value>config/scaffolds/Scaffolds.xml</
value></property>
<!-- What scaffold generation patterns should ModelGlue use if you do
not specify in the <scaffold type=""> attribute? .-->
<property
name="defaultScaffolds"><value>list,edit,view,commit,delete</value></
property>
<!-- See documentation or ModelGlueConfiguration.cfc for additional
options. -->
</bean>
<!--
If you need your own configuration values (datasource names, etc),
put them here.
See modelgluesamples/simpleconfiguration/controller/Controller for an
example of how to get to the values.
Advanced users who are used to ColdSpring will probably delete this
bean in favor of their own approach.
-->
<bean id="modelglue.applicationConfiguration"
class="ModelGlue.Bean.CommonBeans.SimpleConfig">
<property name="config">
<map>
<entry
key="myDatasource"><value>myDatasource</value></entry>
</map>
</property>
</bean>
<!-- Put definitions for your own beans and services here -->
</beans>
************************************************************************************************************
In my controller.cfc, I have the following function
(needHighSchoolForm) which is called just before the form is displayed
************************************************************************************************************
<cfcomponent output="false" hint="I am a Model-Glue controller."
extends="ModelGlue.gesture.controller.Controller">
<cffunction name="init" access="public" output="false"
hint="Constructor">
<cfargument name="framework" />
<cfset super.init(framework) />
<cfreturn this />
</cffunction>
<cffunction name="needHighSchoolForm" access="public"
returnType="void" output="false" hint="???">
<cfargument name="event" type="any">
<cfset var HonorsBean = getModelGlue().getBean("HonorsBean") /
>
<cfset arguments.event.makeEventBean( HonorsBean ) />
<cfset arguments.event.setValue( "HonorsBean", HonorsBean ) /
>
</cffunction>
.
.
.
.
</cfcomponent>
As sooon as I try and load the form I get the following:
Oops!
Message
Detail Bean definition for bean named: HonorsBean could not be found.
Extended Info
Tag Context D:\coldspring\beans\DefaultXmlBeanFactory.cfc (646)
D:\ModelGlue\gesture\externaladapters\ioc\ColdSpringAdapter.cfc (46)
D:\ModelGlue\gesture\ModelGlue.cfc (228)
D:\Website\developers\cliff\honors\controller\Controller.cfc (13)
D:\ModelGlue\gesture\eventrequest\EventContext.cfc (326)
D:\ModelGlue\gesture\eventrequest\EventContext.cfc (253)
D:\ModelGlue\gesture\eventrequest\phase\Invocation.cfc (91)
D:\ModelGlue\gesture\eventrequest\EventContext.cfc (180)
D:\ModelGlue\gesture\ModelGlue.cfc (243)
D:\ModelGlue\gesture\ModelGlue.cfm (83)
D:\Website\developers\cliff\honors\index.cfm (41)
I've verified the path as developers.cliff.honors.model (which exists
just below <webroot>
Have no idea what is causing this... Everything I've done is pretty
much canned (honorsbean.cfc was created by the Roobios generator
Any ideas what might be causing this.
Thanks in Advance,
Cliff
--
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog
You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en