Closed Piotr-K8i closed 3 years ago
Hallo @KabacinskiPiotr, I use "ui:composition" only for the layout templating of my pages. To define a component I use composite components like this example https://mkyong.com/jsf2/composite-components-in-jsf-2-0/
Will be to use composite components as an alternative for you?
If you like you can also take a look into the opportunities of f:selectItems It wants to help you to do without c:forEach https://mkyong.com/jsf2/jsf-2-dropdown-box-example/
Thanks for your help, it was resolved
In the component I created for the transferred value "value" I get the following warning: WARNING [https-jsse-nio-8081-exec-5] net.bootsfaces.beans.ELTools.evaluteBaseForMojarra There's no getter to access: #{/WEB-INF/facelets/tags/bootsfacesSelectMenu.xhtml @11,116 value="#{value}"}
An example of my component:
An example of calling a component:
Everything works as it should except the warning messages appearing in the console