I am creating a query page in my d2w app with

        //query events main page
        public WOComponent queryMainEvents() {
                
               QueryPageInterface newQueryPage = 
D2W.factory().queryPageForEntityNamed(EVENT, session());
                                 
                return (WOComponent) newQueryPage;
        }


Event has an attribute eventDate. Of course on the query page I get Event Date 
(and two date framing the start and end of the query).


I see the ERD2WQueryDateRange has to and from values:

SessionLocalizerERD2WQueryDateRangeTo: ERXLocalizedString {
        value = "ERD2WQueryDateRange.to";
}

SessionLocalizerERD2WQueryDateRangeFrom: ERXLocalizedString {
        value = "ERD2WQueryDateRange.from";
}

how can I target them so when this query page opens it is loaded with a 
calculated range (this week)?

Ted


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to