public class PageSettings extends Object
Constructor and Description |
---|
PageSettings() |
Modifier and Type | Method and Description |
---|---|
PageSettings |
addComponentResolver(IComponentResolver resolver)
Adds a component resolver to the list.
|
boolean |
getCallListenerInterfaceAfterExpiry() |
List<IComponentResolver> |
getComponentResolvers()
Get the (modifiable) list of IComponentResolvers.
|
boolean |
getRecreateBookmarkablePagesAfterExpiry()
When enabled (default), urls on mounted pages will contain the full mount path, including
PageParameters, allowing wicket to reinstantiate the page if got expired.
|
boolean |
getVersionPagesByDefault() |
PageSettings |
setCallListenerInterfaceAfterExpiry(boolean callListenerInterfaceAfterExpiry)
Sets a setting that determines whether Wicket should execute the listener interface of a component
which owner page is freshly created after expiration of the old one
|
PageSettings |
setRecreateBookmarkablePagesAfterExpiry(boolean recreateBookmarkablePagesAfterExpiry)
Sets the recreateBookmarkablePagesAfterExpiry setting
|
PageSettings |
setVersionPagesByDefault(boolean pagesVersionedByDefault)
A global setting that tells the pages to update their page id if their component
hierarchy changes somehow.
|
public PageSettings addComponentResolver(IComponentResolver resolver)
resolver
- The IComponentResolver
that is addedthis
object for chainingpublic List<IComponentResolver> getComponentResolvers()
public boolean getVersionPagesByDefault()
public PageSettings setVersionPagesByDefault(boolean pagesVersionedByDefault)
pagesVersionedByDefault
- a flag that indicates whether pages should increase their page id when
their component hierarchy changes somehow.this
object for chainingpublic boolean getRecreateBookmarkablePagesAfterExpiry()
public PageSettings setRecreateBookmarkablePagesAfterExpiry(boolean recreateBookmarkablePagesAfterExpiry)
recreateBookmarkablePagesAfterExpiry
- this
object for chainingpublic boolean getCallListenerInterfaceAfterExpiry()
true
if Wicket should execute the listener interface of a component
which owner page is freshly created after expiration of the old onegetRecreateBookmarkablePagesAfterExpiry()
,
IRequestableComponent.canCallListenerInterfaceAfterExpiry()
public PageSettings setCallListenerInterfaceAfterExpiry(boolean callListenerInterfaceAfterExpiry)
callListenerInterfaceAfterExpiry
- true
if Wicket should execute the listener interfacethis
object for chainingsetRecreateBookmarkablePagesAfterExpiry(boolean)
,
IRequestableComponent.canCallListenerInterfaceAfterExpiry()
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.