Class CmsSubAppIFrameCommunicationBehavior

  • All Implemented Interfaces:
    Serializable, org.apache.wicket.IComponentAwareEventSink, org.apache.wicket.markup.html.IComponentAwareHeaderContributor, org.apache.wicket.util.io.IClusterable

    public class CmsSubAppIFrameCommunicationBehavior
    extends org.apache.wicket.behavior.Behavior

    Add this Behavior to a Perspective to add an iframe that communicates with the cms using the navigation application communication library.

    This behavior:

  • adds an iframe element with iFrameElementId and iFrameElementSrc
  • adds javascript to header ( after the navapp-communication script has loaded ) that:
    • Connects to the iframe
    • Provides an implementation of the Parent API

    The application running inside the iframe is responsible for connecting to the cms iframe.

See Also:
Serialized Form