Change By: Tobias Mattsson (19/Apr/13 7:43 PM)
Description: This area is not displayed:

{code}
    @Controller
    @Area("main")
    @AvailableComponentClasses({TextComponent.class})
    public static class MainArea {

        @RequestMapping("/mainTemplate/main")
        public String render() {
            return "areas/mainArea.ftl";
        }
    }
{code}

Only by adding a @TabFactory method is it shown:

{code}
    @Controller
    @Area("main")
    @AvailableComponentClasses({TextComponent.class})
    public static class MainArea {

        @TabFactory("Content")
        public void contentTab(TabBuilder tab) {
        }

        @RequestMapping("/mainTemplate/main")
        public String render() {
            return "areas/mainArea.ftl";
        }
    }
{code}

Either the area is not added to the template definition at export time or it isn't rendered by Magnolia.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
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: <[email protected]>
----------------------------------------------------------------

Reply via email to