New to this, so it might be simple.
I need the field to call a java bean method, every time something is entered/deleted. It should be doable like this, but it get the following error:
"<f:ajax> contains an unknown id 'input' - cannot locate it in the context of the component j_idt7"-
From what i know, the Ajax execute attribute="input" should make sure the instance variable "input" is updated.
This is relevant code in xhtml file:
<h:form>
<div> Enter zipcode </div>
<h:inputText >
<f:ajax execute"input" render="out"> </f:ajax>
</h:inputText>
<h:outputText id="out"> #{postBean.by}</h:outputText>
</h:form>