Re: sorting output
Re: sorting output
- Subject: Re: sorting output
- From: Nathan Dumar <email@hidden>
- Date: Thu, 19 Aug 2004 16:19:29 -0400
Sounds like you're using a WODisplayGroup. If you are, I think you
have to do myDisplayGroup.updateDisplayedObjects(). Sorting isn't done
automatically after modifications.
Nathan
On Aug 19, 2004, at 12:22 PM, Wes James wrote:
I have been working with the Web Applications manual that has some WO
tutorials. It has a section about databases and at the end it adds a
little info about how to sort the output. When I add the code to
main.java:
in this method (is the main constructor called a method?):
public Main(WOContext context) {
If there are any records it does sort the data, but If I add a record
it adds the data at the end of the list of data. Then when I run the
WOapp again, the data is sorted properly. Why isn't the data sorted
after each Add request?
thanks,
wj
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.