The CVS HEAD has code changes where the Registry is stored into the ServletContext using the key org.apache.tapestry.Registry:foo where foo is the name of the application servlet.
Actually, just checked, looks like that code is in alpha-3. On 6/9/05, Andrew Kirby <[EMAIL PROTECTED]> wrote: > I have a requirement for access to the Hivemind Registry instance that > is constructed within the Tapestry Application Servlet such that I can > lookup and use the default SpecifcationParser service. > > I cant find a way to achieve this ? > > I am implementing an ISpecificationResolverDelegate class using the > tapestry4-alpha3 code base and need access to the SpecificationParser > service so assume that I can lookup this service from the Tapestry > Registry instance, but cannot determine how to get a handle to this > registry instance to perform the service lookup. > > I tried using - > > Registry registry = HiveMindFilter.getRegistry > (cycle.getRequestContext().getRequest()); > > but this returns null when called from my > ISpecificationResolverDelegate implementing class. > > The registry has definitely been constructed correctly and populated > as other components have already been parsed correctly when stepping > debugging and stepping through the code. > > Any help much appreciated > > Andy > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Howard M. Lewis Ship Independent J2EE / Open-Source Java Consultant Creator, Jakarta Tapestry Creator, Jakarta HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
