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
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
2 matches
Mail list logo