yes yes, same thing..

I want encodeThis(coldfusion.server.ServiceFactory.giveMeTheWholeDarnThingAtOnce)



-----Original Message-----
From: Chris Velevitch [mailto:[EMAIL PROTECTED]
Sent: Thursday, 1 July 2004 4:13 PM
To: CFAussie Mailing List
Subject: [cfaussie] Re: Error environment


On Thu, 1 Jul 2004 11:46:42 +1000, Taco Fleur <[EMAIL PROTECTED]> wrote:
> I CFWDDX encode it so that I can re-use it and recreate the exact
> environment, but I'm looking for an eaiser way to encode all scopes in
> one line, if possible..

How about this:-

<cfscript>
      (in_some_scope).AllScopes = StructNew();
      (in_some_scope).AllScopes.error = error;
      (in_some_scope).AllScopes.session = session;
      (in_some_scope).AllScopes.cookie = cookie;
      (in_some_scope).AllScopes.form = form;
      (in_some_scope).AllScopes.url = url;
      (in_some_scope).AllScopes.cgi = cgi;
</cfscript>
<cfwddx action="cfml2wddx" input="#(in_some_scope).AllScopes#" ...>


Chris

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Register now for the 3rd National Conference on Tourism Futures, being held in 
Townsville, North Queensland 4-7 August - www.tq.com.au/tfconf

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to