Re: D2W Can I access Object property values from the rule system?

2011-12-01 Thread Markus Ruggiero
Ramsey hits again! Thanks a lot. The most obvious is it. Whenever I teach programming (and WO) I tell my students when it starts to get complicated it most probably is wrong. Sometimes I do not follow my own advice. Thanks again ---markus--- On 28.11.2011, at 18:27, Ramsey Gurley wrote:

D2W Can I access Object property values from the rule system?

2011-11-28 Thread Markus Ruggiero
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

Re: D2W Can I access Object property values from the rule system?

2011-11-28 Thread David Holt
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 = On 2011-11-28, at 8:24 AM, Markus Ruggiero wrote: I need a rule like the following

Re: D2W Can I access Object property values from the rule system?

2011-11-28 Thread Ramsey Gurley
On Nov 28, 2011, at 9: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

Re: D2W Can I access Object property values from the rule system?

2011-11-28 Thread Markus Ruggiero
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:

Re: D2W Can I access Object property values from the rule system?

2011-11-28 Thread David Holt
On 2011-11-28, at 10:30 AM, Markus Ruggiero wrote: 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' =

Re: D2W Can I access Object property values from the rule system?

2011-11-28 Thread Markus Ruggiero
On 28.11.2011, at 19:52, David Holt wrote: Then when you want to select the Entity you would do something like this (here I have a custom select component in a ListProject configuration) and I return a page with the list of activities that are associated with the selected project. You'll

Re: D2W Can I access Object property values from the rule system?

2011-11-28 Thread David Holt
On 2011-11-28, at 1:39 PM, Markus Ruggiero wrote: On 28.11.2011, at 19:52, David Holt wrote: Then when you want to select the Entity you would do something like this (here I have a custom select component in a ListProject configuration) and I return a page with the list of activities