Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTGWT-1523 in a recent build.
  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    7
    Vote Rating
    0
    CPD is on a distinguished road

      0  

    Default Beta3 StoreFilterField doesn't clear the filter when the built-in TriggerClick occurs

    Beta3 StoreFilterField doesn't clear the filter when the built-in TriggerClick occurs


    Create a StoreFilterField<ModelObject> and then assign it to a TreeStore (or any store really). Create the tree, and display the StoreFilterField.

    When typing into the field, the tree will filter. When the "clear" button is clicked, the filter is not cleared.

    The constructor for StoreFilterField adds a new TriggerClickHandler that references the internal method onTriggerClick

    Code:
    protected void onTriggerClick(TriggerClickEvent event) {
        setValue(null);
        onFilter();
      }
    The onFilter() method applyFilters on the store, but the applyFilters method uses the following code:

    Code:
      protected void applyFilters(Store<T> store) {
        if (getText().length() > 0) {
          store.addFilter(filter);
          store.setEnableFilters(true);
        } else {
          store.removeFilter(filter);
        }
      }
    The clearing of the filter is only done if the text length is 0, but the onTriggerClick method sets the value to null, not the text.

    This behaviour exists in the demo http://sencha.com/examples-dev/#ExamplePlace:filtertree

  2. #2
    Sencha User
    Join Date
    Feb 2012
    Posts
    17
    Vote Rating
    0
    vokiel is on a distinguished road

      0  

    Default


    Yes I can confirm the trigger wiring is missing. Workaround i did:

    Code:
        filter.addTriggerClickHandler(new TriggerClickHandler() {
          @Override
          public void onTriggerClick(final TriggerClickEvent event) {
            store.removeFilters();
            filter.setText("");
          }
        });

  3. #3
    Sencha User WesleyMoy's Avatar
    Join Date
    Oct 2009
    Location
    Redwood City, California
    Posts
    402
    Vote Rating
    2
    WesleyMoy is on a distinguished road

      0  

    Default


    Thanks for the detailed description; this should go a long way toward our ironing this bug out. I've filed an issue against the team and will update with thread with any progress.

  4. #4
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    The issue is now fixed in SVN (rev 2426).

  5. #5
    Sencha User WesleyMoy's Avatar
    Join Date
    Oct 2009
    Location
    Redwood City, California
    Posts
    402
    Vote Rating
    2
    WesleyMoy is on a distinguished road

      0  

    Default


    This bug has been fixed in the Ext GWT 3.0 Release Candidate. Please upgrade your copy of Ext GWT and try your test case again. While we're confident that we've addressed this issue, please reply if you notice any continued problems after upgrading. Again, thanks for taking the time to report this bug.