> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Adam Churvis > Sent: Thursday, December 02, 2004 11:06 PM > To: [email protected] > Subject: Re: [plum] Custom Query Sorting > > When you pass a custom query object to the DisplayList Plum > custom tag, it completely circumvents the query building > code, so the sort order cannot act upon it. > > However, you bring up an excellent point that could be > approached using a couple of different techniques. Consider this: > > 1) When you choose a different sort order from the sort order > menu on a list, it re-queries the database using the new sort > order. We *could* approach this problem by enabling > developers to map each sort order choice in the sort order > menu to a method call that returns a specific query object > already sorted in the desired order.
That would be my preference. > > 2) There is also the idea of using query of queries to > re-sort the query object, but those of you who have taken our > ColdFusion MX Master Class understand the very negative > internal ramifications of doing this. Still, it might be worth a try. > You gonna let us in on the secret, or do we have to pony up for your master class :)? BTW, Ben Forta just blogged about Blackstone QueryNew() and QoQs supporting typed columns so it looks like that problem is going away. Jeff > Anyway, David and I are discussing it and will have an answer > before the final release. I don't know if we'll add the > feature in this release, but we'll have an answer for what and when. > > Respectfully, > > Adam Phillip Churvis > Member of Team Macromedia > http://www.ProductivityEnhancement.com > > Download Plum and other cool development tools, and get > advanced intensive Master-level training: > > * C# & ASP.NET for ColdFusion Developers > * ColdFusion MX Master Class > * Advanced Development with CFMX and SQL Server 2000 > > ----- Original Message ----- > From: "Jeff Fleitz" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Thursday, December 02, 2004 5:57 PM > Subject: [plum] Custom Query Sorting > > > > If you specify a custom query for use in a DisplayList tag, > is there a way > > to get the list to honor multiple sort orders? The original > sort orders > > specified by Plum don't work now that I am using the custom query. > > > > Jeff > > > > > > > > > ********************************************************************** > > You can subscribe to and unsubscribe from lists, and you can change > > your subscriptions between normal and digest modes here: > > > > > http://www.productivityenhancement.com/support/DiscussionListsForm.cfm > > > ********************************************************************** > > > > > ********************************************************************** > You can subscribe to and unsubscribe from lists, and you can change > your subscriptions between normal and digest modes here: > > http://www.productivityenhancement.com/support/DiscussionListsForm.cfm > ********************************************************************** > > ********************************************************************** You can subscribe to and unsubscribe from lists, and you can change your subscriptions between normal and digest modes here: http://www.productivityenhancement.com/support/DiscussionListsForm.cfm **********************************************************************
