Hi Danny,
Danny Waldmann schrieb:
But it still didn't work. Seems I haven't understood the full concept behind
it fully at this point. Basically I try to access from a Apache Tapestry
Page the content from Lenya. But if I run this code I still get "Unable to
parse OGNL expression 'lenya': lenya" a Tapestry error. What is my mistake?
can you access Avalon services from your Tapestry classes? You have to
register your class as a service in cocoon.xconf and obtain it via the
service manager (=container), otherwise it won't be initialized by the
container.
If you can't access the Avalon container from your Tapestry classes, you
could consider providing a specific service registry (implementing the
Startable and ThreadSafe interfaces) which allows to obtain services via
static methods.
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]