ah, I suspected as much, just couldn't reply in the briefness allowed me at
the moment. Kind of defeats the purpose of inheritance, eh? I'll also add
something. In CFCs, you have to 'var scope' all of your variables in your
methods as they are not automatically considered local. see the frag below
as example. This can lead to some issues with threading that can drive you
nuts.
<cffunction name="getEmployee" access="remote" output="false" returntype="
com.rbx.rbxstaff.vo.EmployeeVO">
<cfargument name="id" type="GUID" required="true">
<cfset var employee = '' />
<cfset var obj = createObject("component", "
com.rbx.rbxstaff.vo.UserVO").init() />
<cfquery name="employee" datasource="rbxstaff">
SELECT * FROM user
JOIN person
JOIN employee
WHERE user.id = <cfqueryparam value="#arguments.id#"
cfsqltype="cf_sql_varchar">
AND person.userfk = <cfqueryparam value="#arguments.id#"
cfsqltype="cf_sql_varchar">
AND employee.userfk = <cfqueryparam value="#arguments.id#"
cfsqltype="cf_sql_varchar">;
</cfquery>
DK
On Nov 9, 2007 1:53 PM, Leif Wells <[EMAIL PROTECTED]> wrote:
> OK, found the solution to my problem per Flexcoders:
> http://www.mail-archive.com/[EMAIL PROTECTED]/msg41578.html
> See Mike Nimer's note in the thread.
>
> It appears that there is still a "bug" in the AMF Serializer that will NOT
> serialize the values for inherited properties. The work around is to provide
> a <cfproperty> for each of the inherited properties in the CFC object that
> you are creating. I did it for me and everything is now working as expected.
> Yea!
>
> I am writing this up for my blog right now so that any non-CFer can
> understand it. I'll post a link to the entry here upon completion.
>
> Thanks,
>
> Leif
>
>
>
>
> -------------------------------------------------------------
> To unsubscribe from this list, simply email the list with unsubscribe in
> the subject line
>
> For more info, see http://www.affug.com
> Archive @ http://www.mail-archive.com/discussion%40affug.com/
> List hosted by FusionLink <http://www.fusionlink.com>
> -------------------------------------------------------------
>
--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?
-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the
subject line
For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------