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.

  1. #1
    Sencha User
    Join Date
    Nov 2008
    Location
    Vienna - Austria
    Posts
    867
    Vote Rating
    1
    micgala is on a distinguished road

      0  

    Default SelectionChangedListener ClassCastException

    SelectionChangedListener ClassCastException


    Hi.

    I have a grid which is Grid<SomeModel>.

    When I try to add a SelectionChangedListener to that grid's SelectionModel, then I have a ClassCastException.

    This is the code I used for adding the listener:

    Code:
    grid.getSelectionModel().addSelectionChangedListener(new SelectionChangedListener<SomeModel>() {
                @Override
                public void selectionChanged(SelectionChangedEvent<SomeModel> se) {
                    //Will do stuff here
                }
            });
    The exception occurs in the moment I select something in the grid.... but the Will do stuff here is not even called.... the error occurs before that....

    Does anyone have any idea on what is the problem?

    PS: The ClassCastException seems to happen in this gxt class:
    java.lang.ClassCastException: com.extjs.gxt.ui.client.event.SelectionEvent

    Thanks,
    Michel.
    Last edited by micgala; 12 Dec 2008 at 3:40 AM. Reason: more info.