If rsAuthor is a query or struct, you could do this:
<cfset var authorsid= arguments.event.getValue("rsAuthor").authorsid>
...but if it's an object, you probably have a getter function for that
author id value:
<cfset var authorsid=
arguments.event.getValue("rsAuthor").getAuthorsid()>
--Brian
On Dec 22, 2:03 pm, Irvin Wilson <[email protected]> wrote:
> I'm having a design issue.
>
> If I have authors and books should I:
>
> have 1st message pull desired author and then have 2nd message pull
> books by author ID received from first message?
>
> Or... do both in one?
>
> I'm thinking the 1st approach. Weird thing is I thought
>
> <cfset arguments.event.setValue("rsAuthor", rsAuthor) />
>
> in message 1 would allow me to do
>
> <cfargument name="event" type="any" />
> <cfset var authorsid = arguments.event.getValue("rsAuthor.authorsid") /
>
>
>
> in message 2.
>
> No?
--
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog
You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en