Details
-
Improvement
-
Resolution: Obsolete
-
Neutral
-
None
-
None
-
None
-
None
Description
Hi, I am quite new to magnolia, but I hope I'll find some assistance here.
What I am trying to do is use blossom templates with STK, which should be not so complicated afaics. The problem I have today is that buildTemplateDefintion in TemplateDefintionBuilder returns a BlossomTemplateDefintion. My first idea was to subclass a BlossomTemplateDefintion clone from STKPage which provides the functionality neede for STK Templates. And then I would provide I custom "BlossomSTKRenederer" I would introduce an annotation in my extension, so that my custom builder would return an STK Enabled blossom compatible Template Defintion. cleaner would be if we could have some kind of interface here, but I think my understanding is not deep enough here. Do you think it's possible to change the return type of the method without much hassle?
Any help will be appreciated.
Look here, this was my idea which does not compile because my template defintion does not inherit from BlossomTemplateDefinition.