Here is my Code which i am try in jsf 2.0 project.
<h:input value="#{studentInfoBean.registrationFormNo}" id="registrationFormId"/>
<h:commandButton type="submit"
actionListener="# {studentInfoBean.searchStudentbyformNo}">
<f:ajax execute="registrationFormId" render="testlist" />
</h:commandButton>
when i enter a value in input field then click on commandButton so its give a result from the bean my bean name is studentInfobean SessionScoped. my question is that when input field is blank then click on commandbutton so bean is not called so i did not get any response my pervious result remain as it is.
Thanks