I replied to this earlier, but it seems to have gone AWOL.

I've can confirm (on the nightly build from about two days ago), that 
neither of these syntaxes work for returnformat:

/**
@returnformat json
*/
function foo(){
// etc
}

or

function foo() returnformat="json" {
// etc
}

These are the ways defined by CF to do this. And they both work on CF 
(obviously) and Railo.

-- 
Adam



On Thursday, 25 July 2013 20:12:51 UTC+1, Aaron J. White wrote:
>
> I would really like some help with this if anyone knows. Is there a way to 
> set  returnformat in cfscript? If there is not can we have this added to 
> OpenBD? Maybe I am wrong, but this seems like something that should just 
> work.
>
> Please let me know.
>
> Thank you,
> Aaron J. White
>
> On Tuesday, December 25, 2012 1:41:50 PM UTC-6, Louis Brauer wrote:
>>
>> Hi there
>>
>> I'm trying to declare a function in CFSCRIPT with the returnformat 
>> attribute like this (OpenBD 2.0.2):
>>
>> remote function list() returnformat="json" { ... }
>>
>> Doesn't work, data is always returned in WDDX. I suppose the *
>> returnformat* attribute (despite all others) is not supported in 
>> CFSCRIPT. Can anyone confirm this?
>>
>> Best regards
>> - Louis
>>
>>
>>
>>

-- 
-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Open 
BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to