I would like to know if it is possible to add custom composite component to the view from backing bean?
I have custom component in /resources/comp/component1.xhtml with basic <cc:interface>
and <cc:implementation>
. Then I have a bean that is creating a Primefaces dashboard (which works fine; http://www.wobblycogs.co.uk/index.php/computing/jee/49-dynamic-dashboard-with-primefaces). I would like now to add the component1 to the dashboard from the dashboard's backing bean. Is this possible or do I have to create dashboard panel and use 'rendered' attribute to hide the component in case I want?
Main idea of this is to create user specific dashboard so that users can add custom widgets and change order in the dashboard.
Thanks!