Use object="instance:foo.bar.Baz"
or object="service:mymodule.MyService" The former instantiates an instance of the class; the latter is a reference to a HiveMind service. In either case, the object so reference must implement the right interface. On 7/14/05, Eli Doran <[EMAIL PROTECTED]> wrote: > How do you put a customer service encoder into your hivemodule. > tapestry.url.xml has the schema and the configuration point info but i > can't seem to use the "encoder" element. I can use all the subelements > from the schema like page-service-encoder just fine. specifically, for > the <encoder> tag what do you specify for the "object" attribute? Can > you specify the class, or do you give a service...or an you not use the > <encoder> element? > > <contribution configuration-id="tapestry.url.ServiceEncoders"> > <page-service-encoder id="page" extension="page" service="page"/> > <encoder id="testEncoder" before="*" > object="com.elidoran.tapestry.encoder.TestEncoder"/> > </contribution> > > > --------------------------------------------------------------------- > 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]
