From: <ndi...@us...> - 2002-10-24 00:56:50
|
Update of /cvsroot/modus/org/bacfug/modus/fields In directory usw-pr-cvs1:/tmp/cvs-serv20519/bacfug/modus/fields Added Files: hidden.cfc Log Message: a field for hidden fields (thanks to Jeremy Firsenbaum for this). This probably needs to also deal with the label, etc. at some point. --- NEW FILE: hidden.cfc --- <cfcomponent extends="org.bacfug.modus.fields.baseField" displayname="hiddenField" hint="The hidden field"> <!--- override the toFormField method to make a hidden field ---> <cffunction name="toFormField" access="public" output="no" hint="returns a simple hidden form widget" returnType="string"> <cfreturn instance.formFieldFactory.makeHidden(getName(),getValue())> </cffunction> </cfcomponent> |