anonymous wrote : so you have the window, you do getInstance then getComponent. | | once you have the component you look for the plugin org.jboss.portal.server.PortalConstants.PLUGIN_PREFS | | there you have an instance of org.jboss.portal.server.plugins.mode.ContentTypes you can use the method isContentTypeSupported that checks if the component supports a specific content type |
Thanks Julien, that's pretty clear. One more question - how do I exclude the component if it doesn't support the current MIME type ? What is the technique ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866612#3866612 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866612 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development