I have a composite component with an h:se;ectOneMenu component with a p:ajax component to add the ajax behavior.
I am getting the following "Unhandled by MetaTagHandler" error in the server log.
I am also getting the same error for other instances where I have a p:ajax component associated with an h:commandButton component.
Does anyone have an idea what is wrong?
Thanks
Error:
Code: Select all
SEVERE: /resources/components/schedule/staffSelectionPanel.xhtml @34,128 id="staffListBoxAjax" Unhandled by MetaTagHandler for type org.primefaces.component.behavior.ajax.AjaxBehavior
S
Code: Select all
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:cc="http://java.sun.com/jsf/composite"
xmlns:p="http://primefaces.prime.com.tr/ui"
xmlns:comp="http://java.sun.com/jsf/composite/components">
<!-- INTERFACE -->
<cc:interface>
</cc:interface>
<!-- IMPLEMENTATION -->
<cc:implementation>
<p:outputPanel id="staffSelectionPanel" styleClass="editStaffSelectionPanel" >
<h:selectOneMenu id="staffTypeDD" styleClass="editStaffTypeDD"
value="#{scheduleEditSessionBean.selectedStaffType}" >
<f:selectItems id="staffListItems" value="#{scheduleEditSessionBean.staffTypeList}"/>
<p:ajax listener="#{scheduleEditSessionBean.staffTypeDD_processValueChange}"
event="change" update="rightPanelComp:staffSelectionComp:staffListBox" />
</h:selectOneMenu>
<h:commandButton id="applyStaffTypeBtn" styleClass="editApplyStaffTypeBtn"
action="#{scheduleEditSessionBean.applyStaffTypeBtn_action}" value="Apply">
<p:ajax />
</h:commandButton>
<h:selectOneListbox id="staffListBox" styleClass="editStaffListBox"
value="#{scheduleEditSessionBean.selectedPersonId}" >
<f:selectItems id="listbox1SelectItems" value="#{scheduleEditSessionBean.staffList}"/>
<p:ajax id="staffListBoxAjax" listener="#{scheduleEditSessionBean.staffListLB_processValueChange}"
event="change" update="scheduleEditComp:scheduleEditFormPanel rightPanelComp:scheduleEditRightPanel" />
</h:selectOneListbox>
<comp:userImageRight id="staffImagePanel" styleClass="editStaffImagePanel" />
</p:outputPanel>
</cc:implementation>
</html>