• full update doesn't work

    By Charles Davis 1 decade ago

    Hello.

     

    I have dialog object on an Xpage that allows the user to enter an account number.  I have javascript behind the OK button on the dialog object that is supposed to set fields on the main Xpage.  However, if the onClick event of the OK button is set to "Full Update", nothing is updates.  I can only get fields on the main Xpage, if the onClick event is set to Partial Update.

     

    Any ideas?

    • Full update is in fact limited to the dialog

      By Philippe Riand 1 decade ago

      To make it easy to the user, full update is actually not doing a full update, but only refreshes the content of the container, which is the dialog. We might add an option in core to support an actual full refresh, but it is not available.

      The solution is to add a top level panel and partial refresh it. As it uses partial refresh, it also makes you page performing better (CSS and JS are not reevaluated).

      • thanks! (eom)

        By Charles Davis 1 decade ago