Hello,
I just encountered a problem that I've solved, but don't really understand. I created a class extending TemplateAvailability (a class from magnolia-module-standard-templating-kit, which I put as a dependency in my pom.xml of course) and created a method overriding the 'public boolean isAvailable(Content node, STKTemplate template)' method. As a test I just copied the method body from TemplateAvailability to my own extension class. Guess what, it doesn't work. I had to add a dependency for magnolia-module-templating to get the Template class. What I don't understand: the pom.xml for magnolia-module-standard-templating-kit does not list magnolia-module-templating as a dependency, but the STKTemplate class in magnolia-module-standard-templating-kit extends Template, which is a class in the magnolia-module-templating module. How is it possible that magnolia-module-standard-templating-kit apparently compiles without this dependency? Nils. De informatie vervat in deze e-mail en meegezonden bijlagen is uitsluitend bedoeld voor gebruik door de geadresseerde en kan vertrouwelijke informatie bevatten. Openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking van deze informatie aan derden is voorbehouden aan geadresseerde. De VPRO staat niet in voor de juiste en volledige overbrenging van de inhoud van een verzonden e-mail, noch voor tijdige ontvangst daarvan. ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
