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 protected]> 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 protected]> 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 protected])
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
>>> 
>>> This email sent to [email protected]
> 


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

This email sent to [email protected]

Reply via email to