Your jQuery plugin is exactly what I want to do.  Thanks for that.

Still would be neat to know if there is another way to access the runtime
value of returnformat other than the url scope.  Just a curiosity thing at
this point.

Byron Mann
Lead Engineer & Architect
HostMySite.com


On Wed, Mar 26, 2014 at 9:20 AM, Steve 'Cutter' Blades <
[email protected]> wrote:

>
> Byron,
>
> What is it, exactly, that you're trying to do? CF Splendor (in beta now)
> allows for custom serializers, as well as the more "standard" name/value
> record pairings many client side apps need. I'm doing these conversions
> client-side now, with my serializeCFJSON jQuery plugin
> (https://github.com/cutterbl/serializeCFJSON).
>
> Steve 'Cutter' Blades
> Adobe Community Professional
> Adobe Certified Expert
> Advanced Macromedia ColdFusion MX 7 Developer
> ____________
> http://cutterscrossing.com
>
>
> Co-Author "Learning Ext JS 3.2" Packt Publishing 2010
>
> https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book
>
> "The best way to predict the future is to help create it"
>
> On 3/26/2014 8:12 AM, Byron Mann wrote:
> > Is there a better way to determine the return format inside an executing
> > CFC method?
> >
> > Right now, I'm checking for url.returnformat exists and that == to
> "json".
> >
> > Basically I want to overload an existing method that currently returns a
> > query and return a different json format for the query than just
> > serializing the result set.
> >
> > Byron Mann
> > Lead Engineer & Architect
> > HostMySite.com
> >
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358106
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to