Mesazhi #419 i Listës së E-mailave webobjects-dev@wocommunity.org
Nga: Markus Ruggiero (rucotec) <markus.ruggiero@rucotec.ch>
Lënda: Java Enums in D2W
Data: Fri, 3 Feb 2023 15:11:21 -0500
Për: WebObjects & WOnder Development <webobjects-dev@wocommunity.org>
Të dhëna të nënshkruara (Text SHA256)
Quick question:

I have some fields defined in the EOModel as Java Enum. This is kind of a toOne relationship. How do I use these in the rules? I’d like to display the available enum values as a popup.

Example:
pageConfiguration = ‘EditTextblock’ => displayPropertyKeys = (....’layoutHint’...)
with layoutHint being defined in the EOModel as my.project.E_LayoutHint (Java Enum) with possible values E_LayoutHint.NONE, E_LayoutHint.LEFT_COLUMN, E_LayoutHint.RIGHT_COLUMN  etc. in the Java file.

Out of the box D2W displays the layoutHint property with an ERD2WDisplayString, same for pageConfiguration = ‘CreateTextblock’

Can (ER)D2W handle this already or do I have to create my own property level component?

Thanks
---markus---

Përmbajtja e pandryshuar, sipas verifikimit të:
<markus.ruggiero@rucotec.ch>
Regjistrohu (për LAJME Automatike) Regjistrohu (për KLASIFIKIME) Pajtohu (për INDEKSIME) Ç'regjistrohu Shkruaji Administratorit të Listës