After updating the application from boards 3.4.2 to primefaces-4.0.jar, p:menuitemit has no field id.
This is the code that I have
<h:form id="menuform">
<p:menuitem id="A" value="value1" url="#" />
In section 4.0:
<a tabIndex="-1" class="ui-menuitem-link ui-corner-all" href="#">
<span class="ui-menuitem-text">value1</span></a>
In section 3.4.2:
<a class="ui-menuitem-link ui-corner-all" id="menuform:A" href="#">
<span class="ui-menuitem-text">value1</span></a>
In this regard, I get an undefined or null reference script error when getting the identifier of the component of a menu item later.
source
share