• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: sorting output
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: sorting output
      • From: Wes James <email@hidden>
References: 
 >sorting output (From: Wes James <email@hidden>)

  • Prev by Date: XCode project index invalid
  • Next by Date: Re: No More WebObjects Meetups
  • Previous by thread: sorting output
  • Next by thread: Re: sorting output
  • Index(es):
    • Date
    • Thread