default values in a query page
default values in a query page
- Subject: default values in a query page
- From: Theodore Petrosky <email@hidden>
- Date: Thu, 19 Feb 2015 16:26:42 -0500
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden