@Environmental only works on component classes, period. If you are finding otherwise, there's something wrong with your tests or observations.
On Thu, Jun 25, 2009 at 10:19 AM, Sergey Didenko <sergey.dide...@gmail.com>wrote: > Well, I don't use @Environmental inside the inner class. > > Ok, then why @Environmental works for OuterClass which is placed outside > .base, .page, .component packages? > > To reproduce just replace InnerClass for OuterClass in the previous > example. > And add OuterClass.java: > > package mytapp; > > public class OuterClass { > public String toString() { > return "OuterClass"; > } > } > > > On Thu, Jun 25, 2009 at 7:53 PM, Howard Lewis Ship <hls...@gmail.com> > wrote: > > > Inner classes are not component classes and are not transformed > (component > > class transformation is the hook that allows @Environmental to work). > > > > > -- Howard M. Lewis Ship Creator of Apache Tapestry Director of Open Source Technology at Formos