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@hidden> 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@hidden> 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@hidden> wrote: Great - forgot about d2wContext() thanks
On Dec 9, 2014, at 10:35 AM, Theodore Petrosky < email@hidden> 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@hidden> 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
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
|