-
1. richfaces + jquery "Problems with af4:support"
ilya_shaikovsky Mar 1, 2011 4:13 AM (in response to ramram888)your JS should be wrapped to outputPanel and updated also on ajax requests which are updates the inputs and selects to which handlers is bound. in other case when DOM elements getting replaced with new ones from responce - them has no handlers attached anymore.
-
2. richfaces + jquery "Problems with af4:support"
ramram888 Mar 1, 2011 1:50 PM (in response to ilya_shaikovsky)Hi Ilya,
I think that this is exactly what is happening with me. On the other hand I am new to jquery, how can we do the update of the JS on the ajax request call so that handlers remains bound.
Regards,
Ram
-
3. Re: richfaces + jquery "Problems with af4:support"
ilya_shaikovsky Mar 2, 2011 5:48 AM (in response to ramram888)your JS should be wrapped to outputPanel and updated also on ajax requests
<a:outputPanel ajaxRendered="true">
//script
</a:outputPanel>
-
4. Re: richfaces + jquery "Problems with af4:support"
ramram888 Mar 4, 2011 4:09 AM (in response to ilya_shaikovsky)Hi Ilya,
I think the issue that I described is more related to this : https://issues.jboss.org/browse/RF-3477
Any ideas?
Regards
ram
-
5. Re: richfaces + jquery "Problems with af4:support"
ilya_shaikovsky Mar 4, 2011 9:43 AM (in response to ramram888)no, that issue about breaks about re-render. And in your case the reason of breaking - you not re-redering it. so add the panel as I suggested and check.