A problem with events
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   tazkirah_tazkirah
Posted On:   Sunday, September 21, 2008 07:52 AM

Hi, first of all, sorry for my poor english :( My problem is: Have a page jsf with 2 SelectOneMenu and 1 commandButton like this Cool, now, when the pages FIRST time that i select one item on selectonemenu or click button, page fires ALL events. I think this it because when initialize SelectOneMenu with value="#....", an one event onChange wait on a queue and when any object of form make submit() all event on a queue are throws. this is: 1º time when page load - click on a button - cbObra_OnChange fire ( on queue for give values? ) - cbCliente_OnChange fire ( on queue for give values? ) - cmbInsertar_OnClick fire ( ye   More>>

Hi, first of all, sorry for my poor english :(

My problem is:
Have a page jsf with 2 SelectOneMenu and 1 commandButton like this

			












Cool, now, when the pages FIRST time that i select one item on selectonemenu or click button, page fires ALL events. I think this it because when initialize SelectOneMenu with value="#....", an one event onChange wait on a queue and when any object of form make submit() all event on a queue are throws.
this is:
1º time when page load
- click on a button
- cbObra_OnChange fire ( on queue for give values? )
- cbCliente_OnChange fire ( on queue for give values? )
- cmbInsertar_OnClick fire ( yes, im clicked :D )


how i can do this? i want that when click on the button first time, only event of button fires.

thanks for all    <<Less
About | Sitemap | Contact