I have a blossom component that I want to insert into the content area of a 
page (stkArticle, for example).  I have its annotations defined as such...

@Controller
@Template(title="LDAP Phone Directory", 
id="ldap-phone-directory:components/phonedirectory")
@TemplateDescription("Lists the results of a directory search")

and a method annotated with @RequestMapping

    @RequestMapping("/phonedirectory")
    public ModelAndView handleRequest() {
        return new ModelAndView();
    }

I have even added this method

    @Available
    public boolean isAvailable(Node websiteNode) {
        return true;
    }

Adding the isAvailable method allows me to see it as a page template, but I 
have had no luck seeing it in the components list as an available component for 
an article.

Any help would be appreciated.

Thanks,
Adam Spickard

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