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

      0  

    Default Problem DWR with PagingToolBar

    Problem DWR with PagingToolBar


    I am using DWR, it returns me a List<Beans> of 200 records in java and converts to an Array<Object> in javascript. I'm trying to browsing with PagingToolBar in a GridPanel of 50 in 50 records, but is not accepting the parameters in the method load.

    Code:
    sd.load (params ((start: 0, limit: 50))); / / does not work  
    sd.load () / / meets but not page
    I am also using some of the plugins posted by some of you, in this case in particular the DWRProxy and ObjectReader.


    Someone could help me?

    Below follows the code generated:

    [code]
    Ext.onReady(function() {

    var sd = new Ext.data.Store({
    proxy: new Ext.data.DWRProxy(JSPedidos.lista200Pedidos),
    reader: new Ext.data.ObjectReader({}, Ext.data.Record.create([
    { name: 'pedido', mapping: 'pedido'},
    { name: 'codcli', mapping: 'codcli'},
    { name: 'cliente', mapping: 'cliente'},
    { name: 'cidade', mapping: 'cidade'},
    { name: 'uf', mapping: 'uf'},
    { name: 'regiao', mapping: 'regiao'}
    ]
    )
    )
    }
    );

    var grid = new Ext.grid.GridPanel({
    store: sd,
    columns: [
    {id:'pedido', header: "N

  2. #2
    Ext User
    Join Date
    Jul 2008
    Posts
    2
    Vote Rating
    0
    leonardocfmg is on a distinguished road

      0  

    Default DWR and ExtJS

    DWR and ExtJS


    Somebody already has or is trying to integrate efficiently DWR and ExtJS?

  3. #3
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,337
    Vote Rating
    75
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    what is not accepting the params?

    do you see them in the XHR in firebug?

  4. #4
    Sencha User michaelc's Avatar
    Join Date
    Dec 2007
    Location
    Bay Area - CA
    Posts
    507
    Vote Rating
    0
    michaelc is on a distinguished road

      0  

    Default


    Quote Originally Posted by leonardocfmg View Post
    Somebody already has or is trying to integrate efficiently DWR and ExtJS?
    many have do a search and you will find proxys for DWR and sample apps.

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar