On 2/7/06, João Fernandes <[EMAIL PROTECTED]> wrote:
>  I saw your comment over mike's blog saying that cfproperty set the proper
> metadata for cfadapter to be able to map the cfc to the AS class. So, if
> Reactor TOs whould have
>  <cfproperty name="columnName" type="columnType" default="someval">

<cfproperty> just sets metadata, it does not set the variable itself.

>  instead of <cfset this.columname = someval>

That sets a variable, it does not provide metadata.

In other words, to use a TO with the CF Adapter you'd need *both* the
assignment and the <cfproperty> tag.

However, I think the Reactor record objects will also work with the CF
Adapter if you add the <cfproperty> tags (since they have getXxx()
methods - I think the CF Adapter respects getters / setters).

Note: I have not done any work with the Flex 2 stuff yet - I've been
too busy - so I really don't know how it works.
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

Reply via email to