Class SinkRenderAllowlist

java.lang.Object
org.apache.juneau.console.views.SinkRenderAllowlist

public final class SinkRenderAllowlist extends Object
Serving-path allowlist of renderer ids that may be named on a fill sink (a field-grid catalog render entry or PopoverField.render).

This does not freeze JavaScript functions; the client resolveSinkRenderer lookup owns that. The table-cell render path does not call this helper (unknown ids still warn-and-fall-back).

Since:
10.0.0
  • Field Details

    • BUILTIN_IDS

      public static final Set<String> BUILTIN_IDS
      Built-in ids safe to name on a field-grid fill sink (and the JS frozen-builtin set).

      pill is a fill-sink built-in whose sink renderer is a display-only variant of the cell renderer: the client's resolveSinkRenderer("pill") never emits role="button", and serving-path validation forbids a meta.action on a sink pill outright (a fill sink has no rowActions in scope to bind one to).

      code is a minimal monospace, whitespace-preserving, HTML-escaped source-text renderer intended for a field-grid catalog entry inside a row-detail region — no language hint or syntax highlighting on this first pass.

    • POPOVER_TEXT_IDS

      public static final Set<String> POPOVER_TEXT_IDS
      Text-shaped built-ins allowed on a PopoverField (no tags in display() when popup is forced off). A subset of BUILTIN_IDS.
  • Method Details