NP. It makes life a helluva lot easier.

Cool thing: This snippet will work in either Builder or CFE.

J

On Feb 25, 2010, at 10:09 AM 2/25/10, Nando . wrote:

> Thanks Jared and Dan!
> 
> On Thu, Feb 25, 2010 at 4:55 PM, Dan Wilson <[email protected]> wrote:
> I've got the one for CFQueryparam set up the same way:
> 
> <cfqueryparam value="##" cfsqltype="cf_sql_$${CF SQL 
> Type:bigint|bit|blob|char|clob|date|decimal|double|float|idstamp|integer|longvarchar|money|money4|numeric|real|refcursor|smallint|time|timestamp|tinyint|varchar}">
> 
> 
> 
> 
> On Thu, Feb 25, 2010 at 10:42 AM, Jared Rypka-Hauer <[email protected]> 
> wrote:
> Sweet... I always meant to go back and do that and I never quite got around 
> to it.
> 
> Funny... it'll default to any, which is right, but it's also alphabetical.
> 
> J
> 
> On Feb 25, 2010, at 9:37 AM 2/25/10, Dan Wilson wrote:
> 
> > Here is bascially the same snippet with the types set for typeahead:
> >
> > <cffunction name="get$${Variable}" access="public" output="false" 
> > returntype="$${Return 
> > Type:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid}">
> >       <cfreturn variables.instance.$${Variable} />
> > </cffunction>
> >
> > <cffunction name="set$${Variable}" access="public" output="false" 
> > returntype="void">
> >       <cfargument name="$${Variable}" 
> > type="$${Type:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid}"
> >  required="true" />
> >       <cfset variables.instance.$${Variable} = arguments.$${Variable} />
> > </cffunction>
> 
> --
> You received this message because you are subscribed to the Google Groups 
> "CFCDev" 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/cfcdev?hl=en.
> 
> 
> 
> 
> -- 
> “Come to the edge, he said. They said: We are afraid. Come to the edge, he 
> said. They came. He pushed them and they flew.”
> 
> Guillaume Apollinaire quotes
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "CFCDev" 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/cfcdev?hl=en.
> 
> 
> 
> -- 
> Aria Media Sagl
> CP 234
> 6934 Bioggio
> Switzerland
> 
> +41 (0)91 606 6372
> +41 (0)76 303 4477 cell
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "CFCDev" 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/cfcdev?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"CFCDev" 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/cfcdev?hl=en.

Reply via email to