Hey guys, this just sparked a thought. Does the fusebox parser support
something like this for passing in arguments:

<invoke class="member" methodcall="get()"
        returnVariable="member" />
        <argument name="memberid" value="#url.memberid#">
</invoke>

thanks

gabe

-----Original Message-----
From: Brian Kotek [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 17, 2005 5:26 PM
To: Fusebox
Subject: Re: Instance scope

Jason you just responded to message that was posted over two months ago. ;-)

On 6/17/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 
> You're on the right track. Instead of calling member.lname and 
> member.fname you'll be calling the functions member.getlname() or 
> member.getfname(). That helps preserve encapsulation.
> 
> 
> If you want to return everything then use something like getAttributes 
> that return a structure.
> 
> <invoke class="member" methodcall="get(url.memberid)"
> returnVariable="member" />
> <set name="fieldname" value="member.getAttributes()">
> 
> Then you can reference each field as fieldname.lname and fieldname.fname.
> 
> 
> Jason Cronk
> [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> "Mark Kecko"
> <[EMAIL PROTECTED] To: "Fusebox" <[email protected]>
> om> cc:
> Subject: Re: Instance scope
> 04/15/2005 02:39
> PM
> Please respond to
> fusebox
> 
> 
> 
> 
>




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:12:6768
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/12
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:12
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.12
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to