Advertisement
Guest User

Untitled

a guest
Apr 21st, 2011
382
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <cfcomponent output="false">
  2.     <cffunction name="wddx" access="public" returntype="any" output="false">
  3.         <cfset var result = "" />
  4.         <cfwddx attributeCollection="#arguments#" output="result" />
  5.         <cfreturn result />
  6.     </cffunction>
  7. </cfcomponent>
  8.  
  9. <cfset wddx = new wddx() />
  10. <cfset enc = wddx.wddx(action="cfml2wddx", input="#[1,2]#", useTimezoneInfo=true) />
  11. <cfset data = wddx.wddx(action="wddx2cfml", input=enc, validate=false) />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement