On Thu, Mar 12, 2009 at 7:51 PM, Thiago H. de Paula Figueiredo <thiag...@gmail.com> wrote: > Em Thu, 12 Mar 2009 23:46:13 -0300, Jiang Hua <hua0.ji...@samsung.com> > escreveu: > >> It seems that the module builder classes are ignored (non method of these >> methods are executed), when the web app is started, if a filter name >> different from "app" is used in web.xml. Is it mandatory to use "app"? > > No. > >> Or is it a bug? > > No too. If your filter name is tapestryfilter, your module class will be > TapestryFilterModule and your properties files will be > tapestryfiltermodule.properties.
Almost correct. The filter name is used for the global application properties file, so a filter name of "tapestryfilter" would look for WEB-INF/tapestryfilter.properties. The capitalized name is used for the module, thus somepackage.service.TapestryfilterModule. Tapestry doesn't know how to captialize two word names ... it just capitalizes the first letter. > > -- > Thiago H. de Paula Figueiredo > Independent Java consultant, developer, and instructor > http://www.arsmachina.com.br/thiago > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org