I'm working with Netbeans 8.0 and Glassfish 4. I'm using this piece of code in a JSF page:
<f:metadata>
<f:viewParam id="id" name="id" value="#{profileMB.idProfile}" />
<f:viewAction action="#{profileMB.loadProfile()}"/>
</f:metadata>
It's working When I declare with the old namespace:
xmlns:f="http://java.sun.com/jsf/core"
but it's not working with the new one:
xmlns:f="http://xmlns.jcp.org/jsf/core"
Any idea why?