|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.settings.def.PageSettings
public class PageSettings
Constructor Summary | |
---|---|
PageSettings()
|
Method Summary | |
---|---|
void |
addComponentResolver(IComponentResolver resolver)
Adds a component resolver to the list. |
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()
|
void |
setRecreateMountedPagesAfterExpiry(boolean recreateMountedPagesAfterExpiry)
Sets the recreateMountedPagesAfterExpiry setting |
void |
setVersionPagesByDefault(boolean pagesVersionedByDefault)
A global setting that tells the pages to update their page id if their component hierarchy changes somehow. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PageSettings()
Method Detail |
---|
public void addComponentResolver(IComponentResolver resolver)
IPageSettings
addComponentResolver
in interface IPageSettings
resolver
- The IComponentResolver
that is addedIPageSettings.addComponentResolver(org.apache.wicket.markup.resolver.IComponentResolver)
public List<IComponentResolver> getComponentResolvers()
IPageSettings
getComponentResolvers
in interface IPageSettings
IPageSettings.getComponentResolvers()
public boolean getVersionPagesByDefault()
getVersionPagesByDefault
in interface IPageSettings
IPageSettings.getVersionPagesByDefault()
public void setVersionPagesByDefault(boolean pagesVersionedByDefault)
IPageSettings
setVersionPagesByDefault
in interface IPageSettings
pagesVersionedByDefault
- a flag that indicates whether pages should increase their page id when
their component hierarchy changes somehow.IPageSettings.setVersionPagesByDefault(boolean)
public boolean getRecreateMountedPagesAfterExpiry()
IPageSettings
getRecreateMountedPagesAfterExpiry
in interface IPageSettings
public void setRecreateMountedPagesAfterExpiry(boolean recreateMountedPagesAfterExpiry)
IPageSettings
setRecreateMountedPagesAfterExpiry
in interface IPageSettings
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |