On Wed, Feb 29, 2012 at 5:53 PM, <[email protected]> wrote:

> I setup direct calls using CFINVOKE  to call the CFC.  And it does work,
> but I am not getting the same answers out of OpenBD.
>

I think you lost me already. You're using CFINVOKE from where that you're
not getting the same answers out of OpenBD? Or do you mean you're not
getting the same answers over cfajax that you're getting via CFINVOKE but
this is all running on OpenBD?


>  Before when I did Ajax to the returntype boolean I got "True" for 1 and
> nothing for 0.  But with the CFINVOKE returned 1 for "true" and 0 for
> "false" (aka when I returned 1 within ajax I got True, but in the cfinvoke
> I got 1 regardless of using true or 1 ).
>

What we don't know is what cfajax might be doing to stuff under the hood.


> What baffles me is the returning of "True" (note the capital T) So I ran a
> find on the cfc ajax looking for a "True" statement and didn't see any.  So
> I am not sure if OpenBD is returning the word "True" for 1 or if the Ajax
> is calling it "True" since the additional tests I couldn't get OpenBD to
> return the word "True" no matter what I set the boolean result to.
>

Is it at all possible just to dump cfajax? I really think you'd have
better, more consistent results. I feel like you're chasing your tail and
we could better help you if you dumped the wildcard in this situation which
is a very old, no longer necessary ajax library.

If you can help us get a high-level idea of what exactly you're trying to
do here (is this just basic calling of CFC methods via ajax?) I think that
will help the conversation be more fruitful.
-- 
Matthew Woodward
[email protected]
http://blog.mattwoodward.com
identi.ca / Twitter: @mpwoodward

Please do not send me proprietary file formats such as Word, PowerPoint,
etc. as attachments.
http://www.gnu.org/philosophy/no-word-attachments.html

-- 
online documentation: http://openbd.org/manual/
   google+ hints/tips: https://plus.google.com/115990347459711259462
     http://groups.google.com/group/openbd?hl=en

Reply via email to