• Value pickers - disabling cache

    By Pieter JD Malan 1 decade ago


    Hello,



    I am trying to get dynamic results from a value picker(IValuePickerData) based on a value (key) I am passing to it. I do this by populating a viewScope variable - and then getting it's value in the picker's 'readEntries' method as follow:


                java.util.Map viewScopeKey = ExtLibUtil.getViewScope();
                if (viewScopeKey.containsKey("key")) {
                    key = Double.valueOf( viewScopeKey.get("key").toString()).longValue();
                }


    The problem is that this method is called only once ... after which the information is cached.


    Is there a way to call the 'readEntries' method each time the value picker control is clicked?

    • I sample a sample to understand your issue

      By Philippe Riand 1 decade ago
      • Apologies ... seems the issue was on my side <EOM>

        By Pieter JD Malan 1 decade ago