You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Choicelist initializers declared in JavaScript #692
Part of EPIC #554. Implemented — under review in #687.
registerChoiceListInitializer({ key }, resolveValues) bridges to ModuleChoiceListInitializer OSGi services, usable from CND as choicelist[key] / choicelist[key='param']. Context: CND param, content locale (BCP-47), accumulated values, edited node, raw Java escape hatch. Returns {label, value, properties?} (properties variant supported, e.g. defaultProperty). Async callbacks supported (#688). Live-verified on Jahia 8.2 via the Content Editor forms API (values, defaultProperty, param, per-field escape hatch, fr localization).
Docs: guide 5-choicelist-initializers. Tests: convertValues unit tests + choicelistInitializerTest.cy.ts. Known platform limit (documented): keys are a global last-wins namespace — prefix with the module name.
Activity