Hi lance just to help a bit more here is the source of breadcrumbs
public void contributeMarkupRenderer(OrderedConfiguration<MarkupRendererFilter> configuration, final Environment environment, @Path("${zbreadcrumbs-default-stylesheet}") final Asset defaultStylesheet) { MarkupRendererFilter injectDefaultStylesheet = new MarkupRendererFilter() { public void renderMarkup(MarkupWriter writer, MarkupRenderer renderer) { DocumentLinker linker = environment.peekRequired(DocumentLinker.class); linker.addStylesheetLink(new StylesheetLink(defaultStylesheet.toClientURL())); renderer.renderMarkup(writer); } }; configuration.add("ZBreadCrumbsDefaultStylesheet", injectDefaultStylesheet, "after:InjectDefaultStylesheet"); }. How is it supposed for DocumentLinker to be null?Since tapestry core injectDefaultStylesheet does not pop DocumentLinker MarkupRendererFilter injectDefaultStylesheet = new MarkupRendererFilter() { public void renderMarkup(MarkupWriter writer, MarkupRenderer renderer) { DocumentLinker linker = environment.peekRequired(DocumentLinker.class); linker.addStylesheetLink(new StylesheetLink(defaultStylesheet.toClientURL())); renderer.renderMarkup(writer); } }; On Tue, Jun 12, 2012 at 3:16 PM, Lance Java <lance.j...@googlemail.com> wrote: > Tapestry contributes MarkupRendererFilter's to the MarkupRenderer, one of > which pushes a DocumentLinker onto the Environment. > > I haven't seen the zbreadcrumbs code but perhaps it also contributes a > MarkupRendererFilter. Perhaps you need to specify "after:DocumentLinker" > when adding to the OrderedConfiguration? > > Just a guess ;) > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/BreadCrumbsModule-error-tp5713794p5713798.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org