From: Nikhil G. D. <ng...@ce...> - 2005-07-22 14:06:42
|
I have PMUtils as a function. Sorry I didn't mention that. Marc Palmer wrote: >-----Original Message----- >From: "Nikhil G. Daddikar" <ng...@ce...> >To: web...@li... >Date: Fri, 22 Jul 2005 17:15:21 +0530 >Subject: [WebMacro-user] Bug(?) > > > >>In WM 2.0 (release May 14 2005), if I do this: >> >>#set $tasks = $PMUtils().getTasks() >> >>then $tasks is set to the object that PMUtils() returns and not to the >>list of tasks >> >>I think this is a bug, can some one confirm this? >> >> > >Nope. You don't use parentheses on properties. Your correct sytnax should be: > >#set $tasks = $PMUtils.Tasks > >Isn't that much nicer :) > >Cheers > > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >_______________________________________________ >Webmacro-user mailing list >Web...@li... >https://lists.sourceforge.net/lists/listinfo/webmacro-user > > |