Class CmsSubAppIFrameCommunicationBehavior
java.lang.Object
org.apache.wicket.behavior.Behavior
org.hippoecm.frontend.plugins.standards.perspective.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:
iFrameElementId
and iFrameElementSrc
- 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:
-
Constructor Summary
ConstructorDescriptionCmsSubAppIFrameCommunicationBehavior
(String iFrameElementId, String iFrameElementSrc) -
Method Summary
Modifier and TypeMethodDescriptionvoid
bind
(org.apache.wicket.Component component) void
renderHead
(org.apache.wicket.Component component, org.apache.wicket.markup.head.IHeaderResponse response) Methods inherited from class org.apache.wicket.behavior.Behavior
afterRender, beforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onComponentTag, onConfigure, onEvent, onException, onRemove, onTag, unbind
-
Constructor Details
-
CmsSubAppIFrameCommunicationBehavior
- Parameters:
iFrameElementId
- Non null id attribute of the iframe element ( should not contain spaces )iFrameElementSrc
- Non null src attribute of the iframe element
-
-
Method Details
-
bind
public void bind(org.apache.wicket.Component component) - Overrides:
bind
in classorg.apache.wicket.behavior.Behavior
-
renderHead
public void renderHead(org.apache.wicket.Component component, org.apache.wicket.markup.head.IHeaderResponse response) - Specified by:
renderHead
in interfaceorg.apache.wicket.markup.html.IComponentAwareHeaderContributor
- Overrides:
renderHead
in classorg.apache.wicket.behavior.Behavior
-