Em Thu, 29 Jan 2009 14:42:47 -0300, Dude.Checkitout <dude.checkit...@gmail.com> escreveu:

I created my own CustomDocumentLinker extending from the tapestry
DocumentLinker and modified the code to fit our needs. But I have no idea
how to make Tapestry to use CustomerDocumentLinker instead of its own
DocumentLinker.

Contribute you own DocumentLinker to the MarkupRenderer service. Something like this in your AppModule class or any other Tapestry-IoC module class:

public void contributePartialMarkupRenderer(OrderedConfiguration<PartialMarkupRendererFilter> configuration) {

configuration.add("CustomDocumentLinker", new CustomDocumentLinke(), "before:DocumentLinker");

}

I haven't tested it, but that's what I would try. :)
By the way, a good knowledge of Tapestry-IoC is not required to use Tapestry, but it helps a lot. ;)

--
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

Reply via email to