| Author |
ValueChangeEvent called multiple times..confusion
|
Prash Singh
Ranch Hand
Joined: Aug 23, 2009
Posts: 100
|
|
Dear All,
I am new to the JSF programming.
The issue is that, in my form, i have several menus and text boxes , most of them generated ValueChangeEvent.
The problem I am facing is that , on the onchange event of menus the ValueChnageListener method is being called multiple times.
any ideas regading this issue?
Thanks
|
 |
Prash Singh
Ranch Hand
Joined: Aug 23, 2009
Posts: 100
|
|
Dear All,
This post will clearly explain what actually is happening.
The sequence of components on my jsp is like this,
HtmlInputText, HtmlSelectOneMenu1,HtmlSelectOneMenu2.
Each of these component has ValueChangeEvent attched to their onblur, onchange and onchage event.
Now after the onblur event of the InputText , the onchange event of the HtmlSelectOneMenu1 is called twice,
and If keep on calling the same event again, it is called three times, and so on.
Same is the case with HtmlSelectOneMenu2..
Can you please point out why is this actually happening.?
Thanks in advance
|
 |
 |
|
|
subject: ValueChangeEvent called multiple times..confusion
|
|
|