Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#446 closed enhancement (fixed)

ApplyFilter - new 'params' property

Reported by: adube Owned by:
Priority: major Milestone: 1.4.0
Component: widgets Version: trunk
Keywords: bis-1.4.0 filter url variable substitution Cc:

Description

In order to be able to use MapServer run-time substitution with the ApplyFilter widget, it needs to append parameters both WMS GetMap and WFS GetFeature request urls.

Currently, that's not supported.

Change History (2)

comment:1 by adube, 13 years ago

Resolution: fixed
Status: newclosed

Fixed in r1371.

The API widget 'applyFilter' and 'applyFilters' methods now support receiving hash objects with a new parameter : 'params'. It's a hash of key:values can be used for this very purpose.

So, in the ApplyFilter widget, new now have 'addParams' method for that. 'reset' also handles restoring their original values.

comment:2 by adube, 13 years ago

Forgot to mention :

  • documentation added
  • no sample (yet)
Note: See TracTickets for help on using tickets.