Results 1 to 3 of 3

Thread: reload datastore with changed parameters

  1. #1

    Default reload datastore with changed parameters

    Hello Forum, i need your help.
    Ive got a gridstore[a], which i want to reload. Reloading whitout new parameters works fine. but if i want to set some parameters new, only the first parameters were loaded. I hope someone can help me.


    gebaeudeStore = new{ // uses the
    layer: gebaeude,
    proxy: new{
    protocol: new OpenLayers.Protocol.WFS({
    url: "http://localhost/geoserver/wfs",
    featureType: "rfhgebaeude",
    featureNS: "",
    srsName: "EPSG:4326",
    version: "1.1.0",
    extractAttributes: true,
    filter: new OpenLayers.Filter.Logical({
    fields: [
    {name: 'gebaeudeid', type: 'string'},
    autoLoad: true
    whith gebaeudeStore.reload() i am reloading the store without new parameters. but now i want to set a new filterparameters. i have no ideas for realiszing that problem.

    thanks a lot
    Last edited by ballibum; 30 Aug 2009 at 5:14 AM. Reason: somethink miss

  2. #2


    try this way

    ds.load({params:{start: 0,limit: 20}}); // Load datastore with paging parameters

  3. #3


    mh it does not work i have set gebaeudeStore.reload({params:{filters:[filtergeb]}}); i think ext change it as an get-method, but it is a post-method

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts