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 |
getRecreateMountedPagesAfterExpiry()
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 |
setRecreateMountedPagesAfterExpiry(boolean recreateMountedPagesAfterExpiry)
Sets the recreateMountedPagesAfterExpiry 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 getRecreateMountedPagesAfterExpiry()
public PageSettings setRecreateMountedPagesAfterExpiry(boolean recreateMountedPagesAfterExpiry)
recreateMountedPagesAfterExpiry
- 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 onegetRecreateMountedPagesAfterExpiry()
,
IRequestableComponent.canCallListenerInterfaceAfterExpiry()
public PageSettings setCallListenerInterfaceAfterExpiry(boolean callListenerInterfaceAfterExpiry)
callListenerInterfaceAfterExpiry
- true
if Wicket should execute the listener interfacethis
object for chainingsetRecreateMountedPagesAfterExpiry(boolean)
,
IRequestableComponent.canCallListenerInterfaceAfterExpiry()
Copyright © 2006–2014 Apache Software Foundation. All rights reserved.