Ramsey,

since displayPropertyKeys is looking for an array of strings is there a way to 
do this. Where session.myDisplayKeys returns an array of strings.

100 : pageConfiguration = 'ListInstrumentFamily' => displayPropertyKeys = 
"session.myDisplayKeys" [com.webobjects.directtoweb.Assignment]

or does this also get one ‘stuck’?

Ted

On Dec 9, 2014, at 1:44 PM, James Cicenia <[email protected]> wrote:

> I have been able to change the displayProperties in code and have it 
> successfully render.
> 
> Then again I think I am instantiating a new report each time.
> 
> 
> 
>> 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]> wrote:
>> 
>>> Great -
>>> forgot about d2wContext()
>>> thanks
>>> 
>>> 
>>> 
>>> 
>>>> On Dec 9, 2014, at 10:35 AM, Theodore Petrosky <[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]> 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])
>>>>> Help/Unsubscribe/Update your Subscription:
>>>>> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.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/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