Hi Markus, I wrote a small HTML file to test if the javascript events are triggered correctly in the mentioned browsers, and they are. So it is not a javascript event problem, but a trinidad (javascript) problem.
Unfortunately I am not that familiar with trinidad to determine why this does not function properly, but I hope there is someone at the list, who can help you. Regards Jakob Korherr 2009/11/26 Döring Markus <[email protected]> > Hi, > > have done some more test's: > > FireFox 3.5.5: as described below > Internet Explorer 7: same as FireFox > Opera 9.51: works correctly with both ValueChangeEvents in one Request, but > don't fires a ValueChangeEvent at all if only the InputText changes > Opera 10.10: same as 9.51 > Google Chrome 3.0.195.33: same as FireFox and IE7 > Apple Safari 3.1.1: same as Firefox, IE7 and Chrome > > Regards > Markus > > -----Ursprüngliche Nachricht----- > Von: [email protected] [mailto:[email protected]] Im > Auftrag von Jakob Korherr > Gesendet: Donnerstag, 26. November 2009 10:46 > An: MyFaces Discussion > Betreff: Re: [Trinidad] ValueChangeListener issues > > Hi Markus, > > It would be great to know in which browsers you tested this, because it > looks like a javascript error to me. > > Regards > > Jakob Korherr > > 2009/11/26 Döring Markus <[email protected]> > > > Hi list, > > > > > > > > I have found an issue with “multiple” value change events in one request. > > > > I have a simple test setup: > > > > One page with just a form, an InputText and an SelectBooleanCheckbox (see > > file attached). > > > > Both inputs save their value in a HashMap in session (could also be a > > managed bean but so less test code is needed). > > > > Both inputs have a ValueChangeListener and autoSubmit on true. > > > > > > > > The InputText auto submits when it loose focus. > > > > The SelectBooleanCheckbox auto submits when it’s get clicked. > > > > But if I enter the page, enter some text and immediate click on the > > checkbox without leaving the InputText before clicking only the text in > the > > InputText is submitted and only the InputText ValueChangeListener is > called. > > > > The SelectBooleanCheckbox “looks” like checked, but if I reload the page > > (without fire event, clicking button, ect.) the SelectBooleanCheckbox > get’s > > deselected automatically because the value in the session never changed. > > > > > > > > Any idea how to get around this? > > > > Should I fill a Jira? > > > > > > > > Tested with > > > > jsf-facelets 1.1.13 > > > > myfaces 1.1.5 > > > > trinidad 1.0.11 > > > > > > > > (Sorry have not test setup for JSF 1.2 so can’t test with Trinidad 1.2, > but > > the test setup is straight forward) > > > > > > > > Regards > > > > Markus > > > > > > >

