No worries. Glad it works now.

- David


On 19.11.2008, at 16:13, Marcel Koch wrote:

Hi again,

my fault, I put the wrong config xml in the pattern attribute in the config_handlers.xml.

Sorry to bother you.

Thanks a lot
Marcel

-----Ursprüngliche Nachricht-----
Von: "David Zülke" <[EMAIL PROTECTED]>
Gesendet: 19.11.08 13:51:59
An: Agavi Users Mailing List <[email protected]>
Betreff: Re: [Agavi-Users] Custom Config Handler and Autoloading


Did you add the class to autoload.xml?

- David



On 19.11.2008, at 13:45, Marcel Koch wrote:

Hi everbody,

because my application is separated in two parts, the first one (the
core) that takes care about persistence and contains the business
logic and the other is based on Agavi. The idea behind this is to be
able to use the core on its own for a command line application or
something like this. In the core part I included a central static
config class which I want to fill by using the Agavi config handler
feature.
I have created a new XSD, the respective XML and also a new config
handler which extends the AgaviConfigHandler. I have put all this
information in the config_handlers.xml. Furthermore I extended the
AgaviController to run the AgaviConfigCache::checkConfig in the
initialize method and put the two new classes to the autoload.xml.
So far so good...

When I'm running the application the application I get an error that
the new config handler could not be found. I do unterstand that the
config_handlers.xml has to be loaded first to know how to deal with
the other configs but I hope there has to be some way to deal with
this issue.

Now my question is if I'm on the right way to get it done or if
there's a better way to do it. Or maybe I also could say: Where is
the error in reasoning? :)

I'm looking forward to your responds.

Thanks a lot
Marcel
_________________________________________________________________________
In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und
gestalten!
Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114


_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users



_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users



____________________________________________________________________
Psssst! Schon vom neuen WEB.DE MultiMessenger gehört?
Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123


_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to