> I am not really convinced about the explanation, Why not?
> the deserialized packet > shows the function name, access hint, output and array of parameters .. i.e. the same stuff you get when you cfdump it. All those things are "simple" values, or built in object types. The code logic would be a complex "type" or hidden etc. Why do you want to serialize the function code anyway? Are you going to have "custom" or runtime function code? I'm a little confused as to what you are trying to do. if you do a = myfunction(a,b,c); ... "a" will contain the return code, unless you return the struct of array of struct (as a struct), which you should be able to store as wddx > I thought about the CFC solution but can't see exactly how to implement it Tell us what you are trying to do, and we can comment further > Thanks anyway Welcome WG > -----Original Message----- > From: webguy [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 04, 2003 5:13 PM > To: CF-Talk > Subject: RE: WDDX and UDF > > Thats because "function" is not a "type" so cf doesn't know how to > serializes it. > Why not use a CFC that has your functions + the Data , create a function > that returns converts your data into WDDX and also has a function that can > take your wddx and populate you cfc again . > > WG > > > -----Original Message----- > > From: DDE [mailto:[EMAIL PROTECTED]] > > Sent: 04 February 2003 12:32 > > To: CF-Talk > > Subject: WDDX and UDF > > > > > > Looks like you can't save a reference to a UDF to a WDDX packet ??? > > If I do that when I de-serialize the packet I don't have my UDF anymore. > > Any explanations or other suggestion to work it out. > > > > I use a struct of array of struct containing information about a kind of > > cfgrid object. These struct contain amongst other formatting > function for > > the columns and I want to save these settings to the database between > > sessions. > > > > Thanks, > > > > Dominique > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

