Is there a way of setting a managed bean parameter in a composite component and then leaving the using classes to decide which actual managed bean to use?
something along the lines of: comp.xhtml
<cc:interface>
<cc:attribute name="price" />
<cc:param name="pageBean" value="#{superBean}" />
<cc:interface>
<cc:implementation>
<h:outputText value="#{cc.attrs.price}"/>
</cc:implementation>
And then, in the using page
<ezcomp:comp pageBean="actualBean"
price="#{actualBean.price}" >
</ezcomp:comp>
In my case ActualBean is a subtype of SuperBean.
I'm not even sure this is possible, but let's just say it would be great if someone proved me wrong.
Thank you in advance