Re: Bug(?)
"Marc Palmer" <[email protected]> Fri, 22 Jul 2005 13:52:38 +0100
| Newsgroups | gmane.comp.java.webmacro.user |
|---|---|
| Message-ID | <[email protected]> |
-----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