One or more resources have the target of 'head', but no 'head' component has been defined within the view." I have < h:head> not just < head>, I read that this was a possible problem.
Anything outside <ui:composition>
is ignored. If you need a <h:head>
, it needs to go in the master template, the gridsTemplate.xhtml
(or any of its parent templates).
Further, if you aren't using a visual editor for your XHTML files (like Dreamweaver), then I strongly recommend to stop putting any content outside <ui:composition>
, otherwise you keep confusing yourself.
See also:
<f:ajax event="click" listener="#{gridPopUpBean.changeListener()}"/> public void changeListener(ValueChangeEvent e) {
You're confusing valueChangeListener
with <f:ajax listener>
. The ValueChangeEvent
argument is only applicable to valueChangeListener
attribute of an UIInput
component. Get rid of that argument.
public void changeListener() {
See also:
Unrelated to the concrete problem, you correctly used click
(although you could safely omit it altogether), but your question title mentions change
and that is indeed the wrong event for a checkbox and radio button.