Panel

/libs/granite/ui/components/endor/layouts/sidepanels/panel

The layout to render Endor inner rail panel.

It expects the main resource to have the following content structure:

granite:EndorLayoutsSidePanelsPanelMain
jcr:titlestring

The title of the panel.

It expects the layout resource to have the following content structure:

granite:EndorLayoutsSidePanelsPanel
autosubmitFormboolean

true to make the form (assigned to this layout) submitable when pressing “Enter”. It is implemented by generating the submit button automatically, and leverage the native browser behavior.

The items of the layout are specified using ItemDataSource.

Example:

+ search
  - sling:resourceType = "granite/ui/components/foundation/container"
  - jcr:title = "Search"
  + layout
    - sling:resourceType = "granite/ui/components/endor/layouts/sidepanels/panel"
  + items
    + item1
    + item2