• 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: @sum for a group of displayGroups?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: @sum for a group of displayGroups?


  • Subject: Re: @sum for a group of displayGroups?
  • From: Ramsey Gurley <email@hidden>
  • Date: Fri, 7 Jan 2011 13:55:55 -0500

You may want to consider an ERXDateGrouper instead of a display group for every day of the week. I think with that, you can just set your grouping mode to week, sum, then set it back to whatever you were doing.

Ramsey


On Jan 7, 2011, at 12:56 PM, Theodore Petrosky wrote:

I have a number of displayGroups on my page that I get a sum on:

SumAmountOfTimeMonday : WOString {
 value = email@hiddentOfTime; // VALID
 numberformat = "##.##";
}

this is on a weekly calendar. I want to sum across:

email@hiddentOfTime + email@hiddentOfTime +tues+wed+ etc...

and display the sum of the sums of the days. is there a way to do this or do I need to revert to the java and create a method:

public double sumOfDaysOfWeek() {
   //do the summing here and return the double value.
}

Thanks,

Ted






_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: @sum for a group of displayGroups?
      • From: David Avendasora <email@hidden>
References: 
 >@sum for a group of displayGroups? (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: @sum for a group of displayGroups?
  • Next by Date: Re: DB Localization problem - valueForKey(): lookup of unknown key: 'my_desc'.
  • Previous by thread: @sum for a group of displayGroups?
  • Next by thread: Re: @sum for a group of displayGroups?
  • Index(es):
    • Date
    • Thread