Re: @sum for a group of displayGroups?
Re: @sum for a group of displayGroups?
- Subject: Re: @sum for a group of displayGroups?
- From: David Avendasora <email@hidden>
- Date: Fri, 7 Jan 2011 14:25:10 -0500
Seriously. Does WOnder do _everything_??
Dave
On Jan 7, 2011, at 1:55 PM, Ramsey Gurley wrote:
> 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
>
>
_______________________________________________
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