I thought about that, but I usually integrate the search parameter form
into the results page.  In this case, the user would intuitively select
an option from, say a dropdown to select a location, then click the
a pagination link.

The only way it would work would be to separate my search parameter form
from the results page, which I'd like to avoid.

However, I'm keeping that as an option if the links should fail.

As I think about it, I would probably still have to separate my search
parameter form from the search results whichever approach I take.

Perhaps I can utilize some javascript to grab the form variables upon
change and then either use form variables or URL variables.

Thoughts?

Rick

> -----Original Message-----
> From: Josh Nathanson [mailto:[EMAIL PROTECTED]
> Sent: Monday, April 14, 2008 12:25 PM
> To: CF-Talk
> Subject: Re: Pagination CFC: How to pass search parameters?
> 
> Rick,
> 
> Why not create a session variable to hold the search parameters?
> 
> Then if the form is re-submitted, i.e. the search parameters are changed,
> you can re-assign the new form values to the session variables.
> 
> Then you would reference the session variables rather than the form
> variables in your query.
> 
> This way you don't have to mess with the paging links' url params at all.
> 
> -- Josh
> 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303334
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to