Re: Defaults in flags()
David Wheeler <[email protected]> Wed, 9 Aug 2006 08:55:04 -0400
| Newsgroups | gmane.comp.web.mason.devel |
|---|---|
| Message-ID | <[email protected]> |
On Aug 9, 2006, at 04:09, Marius Feraru wrote: >> Shouldn't the flags() method in Component.pm have a default value set >> for the inherit flag? > No, because it's automatically set by the "_determine_inheritance" > method (lib/HTML/Mason/Component.pm:109). Hrm. But that's a private method, and if it hasn't been called by Mason before I call flags(), it doesn't work properly. > "inherit" should define a component path. Flags are booleans, I believe. It seems kind of odd that inherit actually stores something other than a 1 or a 0. Best, David ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642