• 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
Re: More newbie questions: customizing D2W's templates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More newbie questions: customizing D2W's templates


  • Subject: Re: More newbie questions: customizing D2W's templates
  • From: Ramsey Gurley <email@hidden>
  • Date: Tue, 23 Dec 2014 13:43:49 -0700

Looks like this should work:

String entityName = ...
ERD2WQueryPage page = (ERD2WQueryPage)ERD2WFactory.erFactory().queryPageForEntityNamed(entityName, session());
page.setShowResults(true);
return page;


On Dec 23, 2014, at 1:28 PM, Flavio Donadio <email@hidden> wrote:

> Ramsey,
>
>
> Here I am, digging the archives again...
>
> I have used this technique for some time, but now I want to show unfiltered query results when the page loads. Is it possible? I've looked into documentation and code and can't come up with a rule (or a set of rules) for that.
>
>
> Cheers,
> Flavio
>
>
> On 16/10/2012, at 17:22, Ramsey Gurley <email@hidden> wrote:
>
>> I usually go with a query config like
>>
>> 100: pageConfiguration = "QueryCompetitorWithFilter" => showListInSamePage = true [BooleanAssignment]
>>
>> Then put whatever filtering attributes you want into the query property keys for that config.
>>
>> 100: pageConfiguration = "QueryCompetitorWithFilter" => displayPropertyKeys = (team) [Assignment]
>>
>> Then just load that config and you're done. There's some filter button thing built into one of the looks, but I forget which one that is. I think ERNeutral.  It just sends you off to a query page anyway, and I prefer to have everything on a single page.
>>
>> Ramsey
>>
>> On Oct 16, 2012, at 12:57 PM, Flavio Donadio wrote:
>>
>>> Hello, all!
>>>
>>>
>>> I feel like I am polluting the list with newbie questions, but I can't find most of the answers I need on the web (bad google-fu?)... If anyone has a good source of documentation, please tell me! :)
>>>
>>> Imagine a simple D2W app. Its EOModel has these entities:
>>>
>>> Competitor <<---> Team
>>>
>>> In my Competitors list page, I want to have a drop-down menu where I can filter the list by Team.
>>>
>>> Is it possible? How can achieve that, since there's no WebAssistant anymore?
>>>
>>>
>>> Regards,
>>> Flavio
>>> _______________________________________________
>>> 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


  • Follow-Ups:
    • Re: More newbie questions: customizing D2W's templates
      • From: Flavio Donadio <email@hidden>
References: 
 >Re: More newbie questions: customizing D2W's templates (From: Flavio Donadio <email@hidden>)

  • Prev by Date: Re: Showing new items without saving?
  • Next by Date: Re: Showing new items without saving?
  • Previous by thread: Re: More newbie questions: customizing D2W's templates
  • Next by thread: Re: More newbie questions: customizing D2W's templates
  • Index(es):
    • Date
    • Thread