Threaded View

  1. #1
    Ext User
    Join Date
    Aug 2008
    Posts
    2
    Vote Rating
    0
    flashdrvnk is on a distinguished road

      0  

    Default Wait for mask() to load?

    Wait for mask() to load?


    Hello there,

    this is my first post, so I would like to thank you for your work on gxt! I've already recommended gxt to my company and other developers

    My goal is to use a mask to prevent user input while a time consuming operation is performed.

    Code:
      private class SelectAllDialogClickListener implements ClickListener {
    
        public void onClick (Widget sender) {
          mypanel.el().mask("Loading articles...");
          mypanel.disable();
    
          ListStore<BaseModel> store = mypanel.getStore();
          for (BaseModel model : store.getModels()) {
            model.set("checked", true);
            store.update(model);
          }
          
          mypanel.enable();
          mypanel.el().unmask();
        }
      }
    But when I click on the Button this Listener is added to, the store update blocks the whole application and the mask is not being rendered (that is my subjective view).

    The idea: this onclick method should change the Boolean "checked" on my BaseModel objects, which is rendered using a Checkbox column, this is very slow, so I want to display a mask and use the Disable event to disable all child elements.

    Is this not possible in Java, but only in JS?
    I would be really grateful for your help.

    Good day.
    Last edited by hendricd; 4 Aug 2008 at 5:43 AM. Reason: Moved to GXT Help Forum

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi