Hi Adam,

you must add the component to the area like this

@AvailableComponentClasses({YourComponent.class})

The @Available annotation is for templates only and needs to have some logic 
inside to make sense - for example:

@Available
public boolean isAvailable(Node node) {
    try {
        return node.getPath().startsWith("/articles");
    } catch (RepositoryException e) {
        return false;
    }
}


HTH
Lars

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=272ca154-3b52-442b-9602-101b6d78176d


----------------------------------------------------------------
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