Opened 13 years ago

Closed 13 years ago

#265 closed enhancement (fixed)

WFSFilterBuilder - grid search and paging

Reported by: adube Owned by:
Priority: major Milestone:
Component: widgets Version:
Keywords: Cc: fgagnon

Description

Add the following features for this widget :

  • add a Ext.ux.grid.Search textfield to add an other possibility of filtering
  • move the layer list on a top toolbar so that both tabs can use it
  • support paging using Ext.PagingToolbar and WFS maxFeatures and startIndex properties

Attachments (1)

265_fixes.diff (6.7 KB ) - added by fgagnon 13 years ago.
Fixes for current issues

Download all attachments as: .zip

Change History (8)

comment:1 by adube, 13 years ago

r1102, featuring all the above (beta version). A list of know issues should follow shortly.

comment:2 by fgagnon, 13 years ago

Known issues:

  • Page 2 and up requests returns more results than maxFeatures value, possibly ignoring it completely.
  • Refreshing the results through the Ext.PagingToolbar before any other request cause major glitches in the left (Filter) panel
  • Changing layers in the right (Results) panel cause the left (Filter) panel to be left empty
  • The number of results of the last page is always 1 over the numberOfFeatures
  • When no filter is applied, the first request doesn't include startIndex and maxFeatures

comment:3 by fgagnon, 13 years ago

Known issues (continued)

  • Update on the first issue: All request made using a valid startIndex ignore maxFeatures. This will also include the first page (thus, all pages) once the startIndex is set correctly to fix issue #4.

by fgagnon, 13 years ago

Attachment: 265_fixes.diff added

Fixes for current issues

comment:4 by adube, 13 years ago

r1108, containing the above fix. More details to come about this.

comment:5 by fgagnon, 13 years ago

This patch includes:

  • Layout updates for the left (Filter) panel is now deffered, fixing UI glitches
  • Since startIndex is one-based while Ext.PagingToolbar is zero-based, this patch ajust this when needed.
  • Changes in automatic tab toggling(The current panel will now only changes after the main filter is applied manually)
  • The FilterBuilder will now correctly uses all languages ressources
  • The protocol now include startIndex and maxRequest for all request

MapServer 6.0.1 no longer ignore maxRequest when startIndex is specified, which makes it required.

comment:6 by adube, 13 years ago

GridSearch and Paging features are completed and used in production environments. Fixed.

comment:7 by adube, 13 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.