Re: Bug(?)
"Nikhil G. Daddikar" <[email protected]> Fri, 22 Jul 2005 19:36:32 +0530
| Newsgroups | gmane.comp.java.webmacro.user |
|---|---|
| Organization | Celoxis Technologies Pvt. Ltd. |
| Message-ID | <[email protected]> |
I have PMUtils as a function. Sorry I didn't mention that. Marc Palmer wrote: >-----Original Message----- >From: "Nikhil G. Daddikar" <[email protected]> >To: [email protected] >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 >[email protected] >https://lists.sourceforge.net/lists/listinfo/webmacro-user > >