Well if I use a custom rule assignment the custom rule still needs to get the 
array.
So wouldn’t it just be the same to stuff it in the Session which is what I did 
in the past but it didn’t seem right.





> On Dec 9, 2014, at 11:54 AM, Ramsey Gurley <[email protected]> wrote:
> 
> You may want to avoid pushing the context like that. I’ve had some case where 
> I pushed the context on values typically set by rules and it resulted in hard 
> caching those values. No matter what other rules I had set, it was stuck that 
> way. If I need to do it in code, I do so via a custom rule assignment.
> 
> On Dec 9, 2014, at 9:56 AM, James Cicenia <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>> Great -
>> forgot about d2wContext()
>> thanks
>> 
>> 
>> 
>> 
>>> On Dec 9, 2014, at 10:35 AM, Theodore Petrosky <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>> 
>>> 
>>> this will do what you want, just create the array of strings that represent 
>>> the keys you want.
>>> 
>>> ((D2WPage) lpi).d2wContext().takeValueForKey(theArray, 
>>> "displayPropertyKeys”);
>>> 
>>> 
>>> 
>>> On Dec 9, 2014, at 11:25 AM, James Cicenia <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>> 
>>>> 
>>>> How does one add the displayPropertKeys in code for a new 
>>>> ListPageInterface?
>>>> 
>>>> I could add it to the session and use a rule to grab it, but that doesn’t 
>>>> sound right.
>>>> 
>>>> Thanks
>>>> James
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list      ([email protected] 
>>>> <mailto:[email protected]>)
>>>> Help/Unsubscribe/Update your Subscription:
>>>> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com 
>>>> <https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com>
>>>> 
>>>> This email sent to [email protected] <mailto:[email protected]>
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected] 
>> <mailto:[email protected]>)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
>>  
>> <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