Hey Johnny:

You probably have more D2W experience than me. But I thought the query source 
delegate worked any time the entity in question was requested. Depending on 
what package your query delegate is in it seems a session object could be 
passed to the delegate - or via ERXThreadStorage?

Tim

On May 3, 2013, at 9:34 PM, Johnny Miller <jlmil...@kahalawai.com> wrote:

> Hi Tim,
> 
> Do you think it's possible to use the query source delegate with a list page?
>  
> I don't see how you can use a delegate with the list page - do you know how?  
> 
> I'm thinking I might have to override the setupPhase method in my subclass of 
> ERD2WListPage and create something similar to the extraRestrictingQualifier 
> key.
> 
> Thanks,
> 
> Johnny
> 
> 
> 
> On May 3, 2013, at 5:19 PM, Tim Worman <li...@thetimmy.com> wrote:
> 
>> Hi Johnny:
>> 
>> I haven't used the restrictingFetchSpecification before. But I have used a 
>> query data source delegate that implements 
>> ERDQueryDataSourceDelegateInterface. There's an example on the wiki on the 
>> wiki in the D2W flow control article. You may already know about that option 
>> - but throwing it out just in case.
>> 
>> http://wiki.wocommunity.org/display/documentation/D2W+Flow+Control
>> 
>> Tim
>> 
>> On May 3, 2013, at 8:12 PM, Johnny Miller <jlmil...@kahalawai.com> wrote:
>> 
>>> Hi,
>>> 
>>> I want to add an automatic qualifier binding to a number of my list pages.
>>> 
>>> And I'm just not quite getting how to use the restrictingFetchSpecification 
>>> key.  
>>> 
>>> If I want my qualifier to be based upon an object in my session how do I 
>>> create the qualifier?  I see that I can put a variable in the qualifier 
>>> that gets created in the EOModel but how do I tell D2W to substitute the 
>>> variable with my session object at runtime?
>>> 
>>> Thanks in advance,
>>> 
>>> Aloha,
>>> Mr. Johnny Miller
>>> Web Development Manager
>>> Kahalawai Media Company
>>> Lahaina, HI 96761
>>> tel: (808) 661-7962 | mobile: (808) 283-0791
>>> website | e-mail    
>>> 
>>> _______________________________________________
>>> 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/lists%40thetimmy.com
>>> 
>>> This email sent to li...@thetimmy.com
>> 
> 


 _______________________________________________
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