Thanks, I was wondering how to get the object type. I'm not a CF
programmer, I'm just trying to migrate a CF MX7 app over to OpenBD 2
CFDump says it's type string and this is how it's being called.
<cfif len(request.iMemberGtwy.getHelp) GT 0><a href="##" id="link-help"
title="Help"><img src="../pics/help.png" alt="Help" /></a></cfif>
I also made the change as suggested below but no joy.
Thanks
Lionel
On 11/20/11 9:14 PM, Matthew Woodward wrote:
On Sun, Nov 20, 2011 at 5:48 PM, Lionel Morrison <[email protected]
<mailto:[email protected]>> wrote:
I have a CFC function that is returning a data type of string but the
Len() function says its a complex data type and errors out.
Have you dumped ThisHelp right before you return it to see what it is?
Also this line of code doesn't make much sense:
<cfif ThisHelp GT "">
I have a feeling what you actually mean there is:
<cfif ThisHelp != "">
But at any rate, dump ThisHelp right before you return it and see what
datatype it actually is. If it's definitely a string you'd have to
share the code that calls that function and does the Len() so we can
see what you're doing there.
--
Matthew Woodward
[email protected] <mailto:[email protected]>
http://blog.mattwoodward.com
identi.ca <http://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
--
online documentation: http://openbd.org/manual/
google+ hints/tips: https://plus.google.com/115990347459711259462
http://groups.google.com/group/openbd?hl=en