Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How do I access the parameters of the layout argument passed to CF as a struct

Enthusiast ,
Aug 11, 2009 Aug 11, 2009

How do I access the  parameters of the layout argument (for example addTradeX) passed to CF as a struct

<cffunction name="rememberLayout" access="remote" returntype="Boolean">
  <cfargument name="layout" required="true" type="struct">

I passed the layout via flex remote object ie

    var layout:Object = new Object;
      layout.addTradeX = addTrade.x ;

myService.send(layout)

many thanks

821
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Aug 11, 2009 Aug 11, 2009
LATEST

If I use any it works like this:

  <cfargument name="layout" required="true" type="any">

<cfqueryparam value="#arguments.layout.addTradeX#

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources