Hi all.

I just trying to implement template availability by extending 
ConfiguredSiteTemplateAvailability. I have no available templates because  no 
template added by method
[code]
public void addTemplate(TemplateConfig templateConfig) {
        templates.put(templateConfig.getId(), templateConfig);
    }[/code]
And when in isAvailable method perform check
[code]
if (!getTemplates().containsKey(templateDefinition.getId())) {
            return false;
[/code] 
i get false everytime and no available templates. Do i need to config something 
else or implement some Aware to fill templateConfigs map?

I use latest yaml prototype feature. But on older versions i got same effect.

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=9cee91f3-d8c9-4676-8642-f2cee0b17485


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to