• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Scripting question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Scripting question

    I'm using this code to refresh widgets in the calling app upon closing the running app....

    I have a circumstance where the running app is launched from a couple different apps, so the widget names needing refreshing will be different....

    is it possible to do reloadWidgets: ['*all']...... or something like that to just reload all widgets in the caller???

    thx

    dan



    Valence.util.Helper.fireEvent('nabupdate',{
    app : getAppVar('aRestoreAppID'),
    reloadWidgets : ['OrderMain','OrderDetail']
    });

  • #2
    Hi Dan,

    You should be able to pass reloadAllWidgets.

    Example:
    Code:
    Valence.util.Helper.fireEvent('nabupdate', {
        app: getAppVar('aRestoreAppID'),
        reloadAllWidgets: true
    });

    Comment


    • #3
      kewl.... thx

      Comment

      Working...
      X