This content has been marked as final.
Show 2 replies
-
1. Re: Two valueChangeListeners inside one form does not fire properly.
ilya_shaikovsky Oct 15, 2010 5:25 AM (in response to banupriya)with submit() you trying to submit the whole form or to use some jsFunction? if second please show the code.
And please check if it will works if you will just add commandButton and try to use it instead of onchange?
-
2. Re: Two valueChangeListeners inside one form does not fire properly.
banupriya Oct 18, 2010 11:57 PM (in response to ilya_shaikovsky)With submit(), I am using the default submit form method.
Also when i use a commandButton instead of the valueChangeListener, the correct method is called.
For now, I changed the code to use a javascript method instead to do date add and its ok now..
<rich:calendar id="inceptionDate" value="#{sale.saleBO.inceptionDate}"
datePattern="dd-MMM-yyyy" disabled="#{sale.disableAll}"
ondateselected="callExpDate();"/>