concurrency problem ajax value change event and page submit

2010-07-02 Thread Marcus Büttner
Hi, I have the following example: h:outputLabel for=val1 value=Value1/ h:inputText id=val1 value=#{myBean.val1} valueChangeListener=#{myBean.val1ChangedListener} f:ajax render=myText event=change / /h:inputText

Re: concurrency problem ajax value change event and page submit

2010-07-02 Thread Werner Punz
Yes the issue is that you use a command button which in case of a single button maps automatically to input type=submit if you hit enter the ajax request is issued and subsequently parallely the full submit is issued as well. You can resolve that by using commandlinks or h:commandButton