Re: @sum for a group of displayGroups?
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