Hi there,
i'm a newby and i got a problem at my hands.
I want to acomplish the following:
1) add a Class myToolkit to the Context of every Velocity page for the whole
application
this already works fine.
2) This myToolkit initialises a BEBroker, which i want to be used in actions and
Screens too though.
Now i don't know how to get that instance of BEBroker that the Toolkit has in any of
the actions.
The Toolkit-Class itself should only be used in velocity-templates. The BEBroker
instead should be
sort of a service. I thought maybe it is possible to add/register this BEBroker-class
as a service to the TurbineServices-Class or something similar, but honestly, i don't
know how.
Another possible way would be to pool it as an object in the Poolservice, but i'd
rather have it as a Service itself.
I did not find a howto to services, and after looking at some sourcecode i decided it
may be faster if i asked this
here. Can anybody help me out here?
thanks in advance, Christine Keim