• 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
default values in a query page
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: default values in a query page
      • From: Ramsey Gurley <email@hidden>
  • Prev by Date: Re: Citrix Issue -> resolved?
  • Next by Date: Re: default values in a query page
  • Previous by thread: RE: Eclipse/Java cannot connect to jenkins.wocommmunity.org anymore
  • Next by thread: Re: default values in a query page
  • Index(es):
    • Date
    • Thread