public abstract class ExpireBehavior extends AbstractPageBehavior
| Constructor and Description |
|---|
ExpireBehavior()
Constructs the behavior.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
isExpired(org.apache.wicket.markup.html.WebPage aPage)
Must be implemented to determine if a page is expired.
|
void |
onDetach(org.apache.wicket.markup.html.WebPage aPage)
To be called in the {@link Page#onDetach
|
onAfterRender, onBeforeRender, setHeaderspublic void onDetach(org.apache.wicket.markup.html.WebPage aPage)
PageBehavioronDetach in interface PageBehavioronDetach in class AbstractPageBehaviorprotected abstract boolean isExpired(org.apache.wicket.markup.html.WebPage aPage)
aPage - Page to check. If a behavior instance is only used on one page
then this argument is always that page so it can bne ignored
in that case.Copyright © 2025. All rights reserved.