Re: D2W Can I access Object property values from the rule system?
Re: D2W Can I access Object property values from the rule system?
- Subject: Re: D2W Can I access Object property values from the rule system?
- From: Markus Ruggiero <email@hidden>
- Date: Mon, 28 Nov 2011 19:30:23 +0100
On 28.11.2011, at 18:05, David Holt wrote:
> You should be able to put it in your session (ERXThreadStorage for example) and access it from there:
>
> pageConfiguration='EditMyEntity' and session.selectedEntity.kind = 'blah' => displayPropertyKeys = ....
Great - and then the silly question: How do I put it there? Please some hand holding :-(
---markus---
>
> On 2011-11-28, at 8:24 AM, Markus Ruggiero wrote:
>
>> I need a rule like the following (pseudo code):
>>
>> pageConfiguration='EditMyEntity' and {the MyEntityObject has a value of 'SOMETHING' in its KIND-attribute} => displayPropertyKeys = ....
>>
>> Background:
>>
>> I have dozens of ElectronicDocuments. Each has a to-one reference to a DocumentType (there are many many such types). All documents behave the same, and the user is free to change the document type. However for one type of document I need to have different displayPropertyKeys.
>>
>> Thanks a lot
>> ---markus--- _______________________________________________
>> 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
>
>
_______________________________________________
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