Following Example:
i have got three Beans:
- GeneralBean
- SpecificBean1
- SpecificBean2
The view of the GeneralBean consists of an accordion that represents a list. Now i would like to invoke the SpecificBean1 if a condition matches:
<c:if test="${condition==true}">
<ui:include src="SpecificBean1.xhtml" />
</c:if>
The above examples includes the view but does not invoke the bean in the background. Is it possible to achieve that? If yes, how?
Aucun commentaire:
Enregistrer un commentaire