Mailing List Message #419
From: Markus Ruggiero (rucotec) <>
Subject: Java Enums in D2W
Date: Fri, 3 Feb 2023 15:11:21 -0500
To: WebObjects & WOnder Development <>
Signed Data (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.

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?


Content Unaltered as verified By:
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster