Skip to main content
nikos101
Inspiring
August 11, 2009
Question

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

  • August 11, 2009
  • 1 reply
  • 839 views

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

    This topic has been closed for replies.

    1 reply

    nikos101
    nikos101Author
    Inspiring
    August 11, 2009

    If I use any it works like this:

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

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