From: <ndi...@us...> - 2002-09-03 23:05:05
|
Update of /cvsroot/modus/org/bacfug/modus/form In directory usw-pr-cvs1:/tmp/cvs-serv31382/bacfug/modus/form Modified Files: formfieldfactory.cfc Log Message: added the instance local var and an init method to bring it inline with the rest of the stuff we use Index: formfieldfactory.cfc =================================================================== RCS file: /cvsroot/modus/org/bacfug/modus/form/formfieldfactory.cfc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** formfieldfactory.cfc 3 Sep 2002 22:37:08 -0000 1.2 --- formfieldfactory.cfc 3 Sep 2002 23:05:02 -0000 1.3 *************** *** 1,3 **** --- 1,8 ---- <cfcomponent displayname="formFieldFactory" hint="This component can create all kinds of HTML form fields"> + <cfparam name="instance" default="#structNew()#"> + <!--- an init method ---> + <cffunction name="init" access="public" output="no" returnType="org.bacfug.modus.form.formFieldFactory" hint="an initialization method"> + <cfreturn this> + </cffunction> <!--- a field to make text ---> <cffunction name="makeText" access="public" output="no" returntype="string" hint="makes a regular form field"> |