paged result set, with filtered results

2009-08-06 Thread bdaniel7
Hello, I ran into an annoying issue: I have a list of items, paged which is working properly. The customer wants also to filter the data by several criteria. The filtering is done by sending through POST a form with several criteria and their values. Now it comes the problem: the paging is done

Re: paged result set, with filtered results

2009-08-06 Thread Simon Laroche
Why not submit the form through GET and include the current page in the form? Simon On Thursday, August 6, 2009, bdaniel7 bdani...@gmail.com wrote: Hello, I ran into an annoying issue: I have a list of items, paged which is working properly. The customer wants also to filter the data by

Re: paged result set, with filtered results

2009-08-06 Thread bdaniel7
I don't think is possible to send values to server using a GET. So how can i submit the form trough GET? On Aug 6, 4:22 pm, Simon Laroche laroche.si...@gmail.com wrote: Why not submit the form through GET and include the current page in the form? Simon On Thursday, August 6, 2009, bdaniel7

Re: paged result set, with filtered results

2009-08-06 Thread bdaniel7
On Aug 6, 4:47 pm, bdaniel7 bdani...@gmail.com wrote: I don't think is possible to send values to server using a GET. So how can i submit the form trough GET? Except for query string, of course. On Aug 6, 4:22 pm, Simon Laroche laroche.si...@gmail.com wrote: Why not submit the form

Re: paged result set, with filtered results

2009-08-06 Thread Ken Egozi
an html form with method=get will serialize it's values (the ones with name atttribute) to the query string.The most obvious example (which reassembles your situation) is google's search box. On Thu, Aug 6, 2009 at 4:48 PM, bdaniel7 bdani...@gmail.com wrote: On Aug 6, 4:47 pm, bdaniel7

Re: paged result set, with filtered results

2009-08-06 Thread bdaniel7
One reason for which i don't like query string, for this instance, is that there are 11 fields usable in filter and the query string can get quite long. But i suppose i can use this, in lack of other choices. On Aug 6, 4:50 pm, Ken Egozi egoz...@gmail.com wrote: an html form with method=get

Re: paged result set, with filtered results

2009-08-06 Thread Ken Egozi
if the whole filter is in the query string - think of what your user can acheive - bookmarkabilitythat is - you gain a saved search capability, by simply telling the user to bookmark the url with the filter. plus the user can send the url to a friend On Thu, Aug 6, 2009 at 5:13 PM, bdaniel7

Re: paged result set, with filtered results

2009-08-06 Thread bdaniel7
it seems that in this case, the query string was the good option. i've converted the POST into GET and it solved all my problems. and here it started to rain :)) On Aug 6, 5:17 pm, Ken Egozi egoz...@gmail.com wrote: if the whole filter is in the query string - think of what your user can