Runtime error with multiple partial refresh

后端 未结 1 1197
不知归路
不知归路 2021-01-28 23:58

Per help me getting a single XSP.partialRefreshGet to work. That is working fine for me noe. Thank you. Now I need to get multiple refreshes to work:

XSP.parti         


        
相关标签:
1条回答
  • 2021-01-29 00:39

    You are missing the id part again (and you had an extra curly brace), Bruce :-)

    XSP.partialRefreshGet("#{id:txtRateType}", {
       onComplete: function() {
        XSP.partialRefreshGet("#{id:CurrentBalancesSection}", {
            onComplete: function() {
                XSP.partialRefreshGet("#{id:PricingSection}", {});
            }
        });
     }
    });
    

    This is client side JS and the functions need client side ids. You use {id: to tell XPages to return the client side id of a server side component.

    0 讨论(0)
提交回复
热议问题