Class ConfluenceFrameExecutorTemplate.Lenient

  • All Implemented Interfaces:
    Enclosing class:

    public static class ConfluenceFrameExecutorTemplate.Lenient
    extends ConfluenceFrameExecutorTemplate
    Tries to switch to the given frame before running the closure but does not escape if not possible.

    This is the default, and should be used on component which want to stay agnostic on which page they're on. E.g. RenderedContent.getColumnContent(int) exposes information about the content in a column layout. The selector for this works on the editor page (inside the tinyMCE IFrame) and on the view page (on the default frame.