This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Value Change Listener events being broadcast to all listeners ???

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi , I have 5 <h:selectManyListbox> in a jsp , which are calling 5 different event handling methods in the Backing Bean . When I change the value in any of the Select components ( ONLY FOR THE FIRST TIME ) i find that all the 5 event handling methods are invoked , even those that are not associated with the component which fired the event .
Why is the event being broadcast to all event handlers ? Any workarounds or caveats to this issue ? Anyone faced this before ..

thanks in advance ...

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!