org.wamblee.wicket.page
Interface PageBehavior

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AbstractPageBehavior, CompositePageBehavior, DisableCachingBehavior, ExpireBehavior, ExpirePageImmediatelyBehavior, FlushEntityManagerBehavior, LoggingPageBehavior

public interface PageBehavior
extends java.io.Serializable

Page behavior interface. This provides a mechanism to extend page behavior without subclassing. Implementations of this interface should be serializable.

Author:
Erik Brakkee

Method Summary
 void onAfterRender(org.apache.wicket.markup.html.WebPage aPage)
          To be called as part of the Page's onAfterRender
 void onBeforeRender(org.apache.wicket.markup.html.WebPage aPage)
          To be called as part of the Page's onBeforeRender
 void onDetach(org.apache.wicket.markup.html.WebPage aPage)
          To be called in the {@link Page#onDetach
 void setHeaders(org.apache.wicket.markup.html.WebPage aPage, org.apache.wicket.protocol.http.WebResponse aResponse)
          To be called as part of the Page's setHeaders
 

Method Detail

onBeforeRender

void onBeforeRender(org.apache.wicket.markup.html.WebPage aPage)
To be called as part of the Page's onBeforeRender

Parameters:
aPage - Page this is called for.

setHeaders

void setHeaders(org.apache.wicket.markup.html.WebPage aPage,
                org.apache.wicket.protocol.http.WebResponse aResponse)
To be called as part of the Page's setHeaders

Parameters:
aPage - Page this is called for.
aResponse - Response to set headers for.

onAfterRender

void onAfterRender(org.apache.wicket.markup.html.WebPage aPage)
To be called as part of the Page's onAfterRender

Parameters:
aPage - Page this is called for.

onDetach

void onDetach(org.apache.wicket.markup.html.WebPage aPage)
To be called in the {@link Page#onDetach



Copyright © 2022. All Rights Reserved.