Re: Defaults in flags()

Marius Feraru <[email protected]> Wed, 09 Aug 2006 11:09:53 +0300
Newsgroups gmane.comp.web.mason.devel
Organization N0i.Net
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Wheeler 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).

> +    my %flag_defaults = (
> +        inherit => 1,
> +    );
"inherit" should define a component path.

- --
Marius Feraru
-----BEGIN PGP SIGNATURE-----

iD8DBQFE2ZhRtZHp/AYZiNkRAny0AJ4wLfqXP/quWJg2vGnxJX3CJmV2vACfUmVa
dsRW3uDMfKkZp3ZXIWSTDa8=
=e0TA
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
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