jsf - When change any input value and submit again no new data displayed to display that it need refresh -
i have primefaces index page: <p:layoutunit position...> <h:form> <p:outputlabel for="txt" value="enter 6 digits"> <p:inputmask id="txt" value="#{bean.txt}" mask="999-999"> <p:inputlabel for="date1" value="choose date:"> <p:calendar id="date1" value="#{bean.date1}"> <p:commandbutton value="submit" actionlistener="#{bean.submit}"/> </h:form> </p:layoutunit> <p:layoutunit position ...> <h:form> <p:datatable var="data" value="#{bean.result}"> <p:column headertext="result"> #{data} </p:column> </p:datatable> </h:form> </p:layoutunit> //class bean.java //the bean sessionscopped private string txt;//setter , getter private date date1; private list<string> result; public list<string> getlist() {return result;} public void submit() {...