This is how I use my custom ServiceEncoder for page/external services.

<service-point id="PageEncoder" interface="org.apache.tapestry.engine.ServiceEncoder"> <create-instance class="com.elidoran.tapestry.encoder.PageServiceEncoder"/>
 </service-point>

 <contribution configuration-id="tapestry.url.ServiceEncoders">
    <encoder id="page" object="service:PageEncoder"/>
    <encoder id="external" object="service:PageEncoder"/>
 </contribution>


tapestrycn wrote:

Hi,
I'd like to config my own ServiceEndoer implementions for direct-service-
encoder,page-service-encoder,extension-encoder and asset-encoder,but how can I do this in hivemind.xml?

thanks,
tapestrycn


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to