jsf - Exclude some elements from ajax process -


i have form lot of elements. inside form there commandbutton, fires ajax request server , updates entire form.

but there 1 or 2 elements don't want process in ajax event. how can exclude components processing, like, "process form elements not components", instead of specifying components process?

for example can call js function command button , capture elements wanna send. ex:

<script type="text/javascript">             <!--                 function call(a, b, c, d...) {                     adddocument(a);                                     .....                 }              -->              </script>         <a4j:jsfunction name="adddocument" action="adddocument" rerender="panellimatge"                   ajaxsingle="true">             <a4j:actionparam name="iddocument"                     assignto="#{crearusuarisbb.newdocumentid}" />         </a4j:jsfunction> 

and in command button call --call();

i hope helps.


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -