when compiled your inner class will get an own .class file in the components package. tapestry will load any class from the components package and enhance it.
if you put your class into another package everything works as expected. so dont put any non component classes into the components package :) g, kris Sergey Didenko <sergey.dide...@gmail.com> 26.06.2009 08:39 Bitte antworten an "Tapestry users" <users@tapestry.apache.org> An Tapestry users <users@tapestry.apache.org> Kopie Thema Re: Environmental annotation Howard, I don't want to be ontrusive, but I mean environmental services. They are not obligated to be component classes. RenderSupport, FormSupport, TabModel are not component classes, right? ( http://tapestry.apache.org/tapestry5.1/guide/env.html ) My report is related to a problem of fetching an environmental service inside a component class. It does not contradict your words. Let's rename InnerClass to InnerClassModel, OuterClass to OuterClassModel if it makes the example clearer. On Fri, Jun 26, 2009 at 12:53 AM, Howard Lewis Ship<hls...@gmail.com> wrote: > @Environmental only works on component classes, period. If you are finding > otherwise, there's something wrong with your tests or observations. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org