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
    Sep 2009
    Posts
    289
    Vote Rating
    0
    diegolovison is on a distinguished road

      0  

    Default buffered grid + CheckBoxSelectionModel

    buffered grid + CheckBoxSelectionModel


    in this example http://www.sencha.com/examples-dev/e...l#bufferedgrid set the selection model to CheckBoxSelectionModel.

    1 - when render the grid.. the first checkbox (represent select all) appears marked...
    2 - click on the first checkbox...
    3 - click again in the first checkbox... will return

    HTML Code:
    java.lang.NullPointerException
        at com.extjs.gxt.ui.client.widget.grid.GridSelectionModel.onLastFocusChanged(GridSelectionModel.java:627)
        at com.extjs.gxt.ui.client.widget.selection.AbstractStoreSelectionModel.setLastFocused(AbstractStoreSelectionModel.java:418)
        at com.extjs.gxt.ui.client.widget.selection.AbstractStoreSelectionModel.doMultiSelect(AbstractStoreSelectionModel.java:304)
        at com.extjs.gxt.ui.client.widget.selection.AbstractStoreSelectionModel.doSelect(AbstractStoreSelectionModel.java:322)
        at com.extjs.gxt.ui.client.widget.selection.AbstractStoreSelectionModel.select(AbstractStoreSelectionModel.java:233)
        at com.extjs.gxt.ui.client.widget.selection.AbstractStoreSelectionModel.selectAll(AbstractStoreSelectionModel.java:241)
        at com.extjs.gxt.ui.client.widget.grid.CheckBoxSelectionModel.onHeaderClick(CheckBoxSelectionModel.java:154)
        at com.extjs.gxt.ui.client.widget.grid.CheckBoxSelectionModel$2.handleEvent(CheckBoxSelectionModel.java:76)
        at com.extjs.gxt.ui.client.widget.grid.CheckBoxSelectionModel$2.handleEvent(CheckBoxSelectionModel.java:1)
        at com.extjs.gxt.ui.client.event.BaseObservable.callListener(BaseObservable.java:178)
        at com.extjs.gxt.ui.client.event.BaseObservable.fireEvent(BaseObservable.java:86)
        at com.extjs.gxt.ui.client.widget.Component.fireEvent(Component.java:454)
        at com.extjs.gxt.ui.client.widget.grid.ColumnHeader.onHeaderClick(ColumnHeader.java:1023)
        at com.extjs.gxt.ui.client.widget.grid.GridView$7.onHeaderClick(GridView.java:1432)
        at com.extjs.gxt.ui.client.widget.grid.ColumnHeader$Head.onClick(ColumnHeader.java:391)
        at com.extjs.gxt.ui.client.widget.grid.ColumnHeader$Head.onComponentEvent(ColumnHeader.java:274)
        at com.extjs.gxt.ui.client.widget.Component.onBrowserEvent(Component.java:864)
        at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1307)
        at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1263)
        at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
        at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
        at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
        at com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:1714)
        at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:165)
        at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120)
        at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507)
        at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:264)
        at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
        at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
        at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188)
        at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
        at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
        at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
        at com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java:1669)
        at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:401)
        at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:222)
        at java.lang.Thread.run(Unknown Source)

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Works fine for me against latest SVN.

  3. #3
    Sencha User
    Join Date
    Sep 2009
    Posts
    289
    Vote Rating
    0
    diegolovison is on a distinguished road

      0  

    Default


    you can test with http://www.sencha.com/examples-dev/e....html#livegrid too?
    with 2.1 return the same problem...

    if livegrid wont support CheckBoxSelectionModel, should be have one way to block this... usint assert...

  4. #4
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    examples-dev is just some build, you should never use that as a reference.

  5. #5
    Sencha User
    Join Date
    Sep 2009
    Posts
    289
    Vote Rating
    0
    diegolovison is on a distinguished road

      0  

    Default


    you can test using /examples/
    the error is the same....

  6. #6
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    with 2.1 return the same problem...
    It probably was not the same error with 2.1 because 2.1 did not contain any "last focused".

  7. #7
    Sencha User
    Join Date
    Sep 2009
    Posts
    289
    Vote Rating
    0
    diegolovison is on a distinguished road

      0  

    Default


    sorry...... i'm crazy....

    the correct version is:
    gxt 2.2.0
    gwt 2.0.4

Similar Threads

  1. A Buffered CheckBoxSelectionModel?
    By blackbox23 in forum Ext GWT: Discussion
    Replies: 2
    Last Post: 1 Oct 2010, 2:56 AM
  2. Buffered Grid with Filter
    By BlueCamel in forum Community Discussion
    Replies: 0
    Last Post: 4 Dec 2009, 11:51 PM
  3. Buffered BeanModel Grid?
    By rlaferla in forum Ext GWT: Discussion
    Replies: 1
    Last Post: 12 Aug 2009, 1:27 AM
  4. Buffered Grid Issue
    By Kalle1985 in forum Ext GWT: Discussion
    Replies: 0
    Last Post: 5 Aug 2009, 5:31 AM
  5. Truly Buffered Grid
    By ericlam in forum Ext GWT: Discussion
    Replies: 4
    Last Post: 2 Jun 2009, 12:04 PM

Thread Participants: 1