-
1. Re: How to synchronize oninputblur and onclick events on rich:calendar
ilya_shaikovsky Feb 17, 2010 9:47 AM (in response to vishal3007)how about to return the conveted date using data attribute and set using calendar client side API in oncomplete instead of just reRender-ing? construction used - just wors as it should blur occurs on hitting button and calendar updated via reRender. -
2. Re: How to synchronize oninputblur and onclick events on rich:calendar
vishal3007 Feb 18, 2010 3:38 AM (in response to ilya_shaikovsky)I have to use reRender-ing because component look will change(border becomes red, tooltip displays the error message etc) in case of conversion/validation error occurs.
I do not want to do these things through JavaScript.
Between i am reRendering the calendar on event oninputchange instead of oninputblur now. Yeah i know this is not the prefect solution as i will face the same problem in one scenario :-(
-
3. Re: How to synchronize oninputblur and onclick events on rich:calendar
ilya_shaikovsky Feb 18, 2010 8:26 AM (in response to vishal3007)this just expected behavior currently. https://jira.jboss.org/jira/browse/RF-7527 describes the same.
We do not expected that you tell the component to change it's client state(e.g. open the popup) and then will reRender it causing initial state to be initiated.
In future (4.x) we probably need to revise the approach considering real blur which will be fired when input lost focus but focus target is the other component element.