Why not submit the form through GET and include the current page in the form?

Simon

On Thursday, August 6, 2009, bdaniel7 <[email protected]> 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 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 with querystring, using GET.
> the filtered data set must also be paged, but it doesn't work because
> the filter can be used only with a POST.
>
> after much trial and error, i thought of 2 solutions:
> 1. send the filter params and values though querystring (as I've seen
> in some examples)
> 2. cache the data, after it was retrieved so that the list/filter
> action can retrieve it and use it no matter if by POST of GET.
>
> I prefer option 2 because is much clean.
> and i can use something already in Castle to achieve it.
>
> Any other suggestions?
>
> Thank you,
> Dan
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to