Thanks for the responses -

 

The main problem is that I'm probably doing something wrong from the start,
so let me provide a little more info.

 

My member class could be sorted in the database with no problem save for one
property. The membershipType property is an object. Therefore, if I want to
sort on membership type I'm dealing with trying to sort an array of composed
objects. Perhaps I need to ease up on the only use arrays of objects in the
view? I tell you that it seems very complicated to have an entire object
just for one lookup value (membershipType).

 

Here is an example of one instance in my array of members

firstName string

lastName string

membershipType members.membershipTypes.membershipType (example:
getMembershipType().getType()=volunteer)

 

Right now I'm returning objects to all of my tables and forms. I didn't
think I was supposed to work with queries in the view, only arrays of
objects. I could easily make a sortable query in the user gateway and do a
query loop for my output. Is this what you are suggesting?

 

Peter, I've looked at your IBO and have to say that I'm pretty unsure about
whether or not I should be using it. I don't know enough to understand if I
need it!

 



You are subscribed to cfcdev. To unsubscribe, please follow the instructions at 
http://www.cfczone.org/listserv.cfm

CFCDev is supported by:
Katapult Media, Inc.
We are cool code geeks looking for fun projects to rock!
www.katapultmedia.com

An archive of the CFCDev list is available at 
www.mail-archive.com/cfcdev@cfczone.org

Reply via email to