Package | Description |
---|---|
org.apache.wicket |
The core Wicket package.
|
org.apache.wicket.ajax | |
org.apache.wicket.authorization.strategies.page | |
org.apache.wicket.core.request.handler.logger | |
org.apache.wicket.feedback |
Classes related to showing user feedback, generally as the
result of form submission and/or validation.
|
org.apache.wicket.markup.head | |
org.apache.wicket.markup.html |
Base package of HTML markup.
|
org.apache.wicket.markup.html.debug | |
org.apache.wicket.markup.html.link |
Link components.
|
org.apache.wicket.markup.html.navigation.paging | |
org.apache.wicket.markup.html.pages |
Default special purpose pages for error and feedback support.
|
org.apache.wicket.mock | |
org.apache.wicket.page | |
org.apache.wicket.protocol.http |
HTTP implementation.
|
org.apache.wicket.request.cycle | |
org.apache.wicket.settings | |
org.apache.wicket.util.tester |
A package with utility classes to ease unit testing of Wicket applications without the need for
a servlet container.
|
Modifier and Type | Method and Description |
---|---|
<C extends Page> |
Component.urlFor(Class<C> pageClass,
PageParameters parameters)
Returns a bookmarkable URL that references a given page class using a given set of page
parameters.
|
Modifier and Type | Method and Description |
---|---|
protected Page |
DefaultExceptionMapper.extractCurrentPage() |
protected Page |
Component.findPage()
If this Component is a Page, returns self.
|
Page |
PageReference.getPage() |
Page |
Component.getPage()
Gets the page holding this component.
|
Page |
Page.setStatelessHint(boolean value)
Sets whether the page should try to be stateless.
|
Modifier and Type | Method and Description |
---|---|
abstract Class<? extends Page> |
Application.getHomePage()
Application subclasses must specify a home page class by implementing this abstract method.
|
Class<? extends Page> |
Page.getPageClass() |
Modifier and Type | Method and Description |
---|---|
void |
Component.redirectToInterceptPage(Page page)
Redirects browser to an intermediate page such as a sign-in page.
|
Constructor and Description |
---|
RestartResponseAtInterceptPageException(Page interceptPage)
Redirects to the specified
interceptPage . |
Constructor and Description |
---|
NonResettingRestartException(Class<? extends Page> pageClass)
Constructor.
|
NonResettingRestartException(Class<? extends Page> pageClass,
PageParameters params)
Constructor.
|
NonResettingRestartException(Class<? extends Page> pageClass,
PageParameters params,
RenderPageRequestHandler.RedirectPolicy redirectPolicy)
Constructor.
|
RestartResponseAtInterceptPageException(Class<? extends Page> interceptPageClass)
Redirects to the specified intercept page, this will result in a bookmarkable redirect.
|
RestartResponseAtInterceptPageException(Class<? extends Page> interceptPageClass,
PageParameters parameters)
Redirects to the specified intercept page, this will result in a bookmarkable redirect.
|
Modifier and Type | Method and Description |
---|---|
Page |
AjaxRequestTarget.getPage()
Returns the page.
|
Page |
AjaxRequestHandler.getPage() |
Constructor and Description |
---|
AjaxRequestHandler(Page page)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected <T extends Page> |
SimplePageAuthorizationStrategy.isPageAuthorized(Class<T> pageClass) |
protected <T extends Page> |
AbstractPageAuthorizationStrategy.isPageAuthorized(Class<T> pageClass)
Whether to page may be created.
|
Constructor and Description |
---|
PageLogData(Page page)
Construct.
|
Constructor and Description |
---|
FeedbackMessagesModel(Page page,
IFeedbackMessageFilter filter)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static MetaDataHeaderItem |
HtmlImportHeaderItem.forImportLinkTag(Class<? extends Page> pageClass)
Factory method to create lt;link> tag for html import.
|
static MetaDataHeaderItem |
HtmlImportHeaderItem.forImportLinkTag(Class<? extends Page> pageClass,
PageParameters pageParameters)
Factory method to create lt;link> tag for html import.
|
static MetaDataHeaderItem |
HtmlImportHeaderItem.forImportLinkTag(Class<? extends Page> pageClass,
PageParameters pageParameters,
boolean async)
Factory method to create lt;link> tag for html import.
|
static MetaDataHeaderItem |
HtmlImportHeaderItem.forImportLinkTag(Class<? extends Page> pageClass,
PageParameters pageParameters,
IModel<String> media)
Factory method to create lt;link> tag for html import.
|
static MetaDataHeaderItem |
HtmlImportHeaderItem.forImportLinkTag(Class<? extends Page> pageClass,
PageParameters pageParameters,
IModel<String> media,
boolean async)
Factory method to create lt;link> tag for html import.
|
static MetaDataHeaderItem |
HtmlImportHeaderItem.forImportLinkTag(Class<? extends Page> pageClass,
PageParameters pageParameters,
String media)
Factory method to create lt;link> tag for html import.
|
static MetaDataHeaderItem |
HtmlImportHeaderItem.forImportLinkTag(Class<? extends Page> pageClass,
PageParameters pageParameters,
String media,
boolean async)
Factory method to create lt;link> tag for html import.
|
Modifier and Type | Class and Description |
---|---|
class |
GenericWebPage<T>
A
WebPage with typesafe getters and setters for the model and its underlying object |
class |
WebPage
Base class for HTML pages.
|
Constructor and Description |
---|
PageView(String id,
Page page)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
static class |
PopupCloseLink.ClosePopupPage
ClosePopupPage closes the popup window.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends Page> |
BookmarkablePageLink.getPageClass()
Get the page class registered with the link
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
Link.linksTo(Page page)
Whether this link refers to the given page.
|
boolean |
BookmarkablePageLink.linksTo(Page page)
Whether this link refers to the given page.
|
Constructor and Description |
---|
InlineFrame(String id,
Page page)
This constructor is ideal if a Page object was passed in from a previous Page.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PagingNavigationLink.linksTo(Page page)
Returns true if this PageableListView navigation link links to the given page.
|
boolean |
PagingNavigationIncrementLink.linksTo(Page page)
Returns true if the page link links to the given page.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractErrorPage
A parent page for all pages that are used to show an error to the user.
|
class |
AccessDeniedPage
Page expired error page.
|
class |
BrowserInfoPage
This page uses a form post right after the page has loaded in the browser, using JavaScript or
alternative means to detect and pass on settings to the embedded form.
|
class |
ExceptionErrorPage
Shows a runtime exception on a nice HTML page.
|
class |
InternalErrorPage
Internal error display page.
|
class |
PageExpiredErrorPage
Page expired error page.
|
class |
RedirectPage
Page that let the browser redirect.
|
Constructor and Description |
---|
ExceptionErrorPage(Throwable throwable,
Page page)
Constructor.
|
RedirectPage(Page page)
Construct.
|
RedirectPage(Page page,
int waitBeforeRedirectInSeconds)
Construct.
|
Modifier and Type | Class and Description |
---|---|
class |
MockHomePage
Mock Page
|
Modifier and Type | Method and Description |
---|---|
Class<? extends Page> |
MockApplication.getHomePage() |
Constructor and Description |
---|
PartialPageUpdate(Page page)
Constructor.
|
XmlPartialPageUpdate(Page page) |
Modifier and Type | Method and Description |
---|---|
<P extends Page> |
WebApplication.mountPackage(String path,
Class<P> pageClass)
Mounts mounts all bookmarkable pages in a the pageClass's package to the given path.
|
<T extends Page> |
WebApplication.mountPage(String path,
Class<T> pageClass)
Mounts a page class to the given path.
|
Modifier and Type | Method and Description |
---|---|
IContextProvider<AjaxRequestTarget,Page> |
WebApplication.getAjaxRequestTargetProvider()
Returns the provider for
AjaxRequestTarget objects. |
Modifier and Type | Method and Description |
---|---|
AjaxRequestTarget |
WebApplication.newAjaxRequestTarget(Page page)
Creates a new ajax request target used to control ajax responses
|
Modifier and Type | Method and Description |
---|---|
Application |
WebApplication.setAjaxRequestTargetProvider(IContextProvider<AjaxRequestTarget,Page> ajaxRequestTargetProvider)
Sets the provider for
AjaxRequestTarget objects. |
Modifier and Type | Method and Description |
---|---|
<C extends Page> |
RequestCycle.mapUrlFor(Class<C> pageClass,
PageParameters parameters)
Returns a bookmarkable URL that references a given page class using a given set of page
parameters.
|
<C extends Page> |
RequestCycle.urlFor(Class<C> pageClass,
PageParameters parameters)
Returns a rendered bookmarkable URL that references a given page class using a given set of
page parameters.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends Page> |
ApplicationSettings.getAccessDeniedPage()
Gets the access denied page class.
|
Class<? extends Page> |
ApplicationSettings.getInternalErrorPage()
Gets internal error page class.
|
Class<? extends Page> |
ApplicationSettings.getPageExpiredErrorPage()
Gets the page expired page class.
|
Modifier and Type | Method and Description |
---|---|
ApplicationSettings |
ApplicationSettings.setAccessDeniedPage(Class<? extends Page> accessDeniedPage)
Sets the access denied page class.
|
ApplicationSettings |
ApplicationSettings.setInternalErrorPage(Class<? extends Page> internalErrorPage)
Sets internal error page class.
|
ApplicationSettings |
ApplicationSettings.setPageExpiredErrorPage(Class<? extends Page> pageExpiredErrorPage)
Sets the page expired page class.
|
Modifier and Type | Class and Description |
---|---|
static class |
BaseWicketTester.StartComponentInPage
A page that is used as the automatically created page for
BaseWicketTester.startComponentInPage(Class) and the other variations. |
class |
DummyHomePage
A dummy home page, as required by
WicketTester . |
class |
DummyPanelPage
A dummy
Panel Component. |
Modifier and Type | Method and Description |
---|---|
<T extends Page> |
WicketTester.executeTest(Class<?> testClass,
Class<T> pageClass,
PageParameters parameters,
String filename)
Use
-Dwicket.replace.expected.results=true to automatically replace the expected
output file. |
<T extends Page> |
WicketTester.executeTest(Class<?> testClass,
Class<T> pageClass,
String filename)
Use
-Dwicket.replace.expected.results=true to automatically replace the expected
output file. |
protected <T extends Page> |
WicketTestCase.executeTest(Class<T> pageClass,
PageParameters parameters,
String filename)
Use
-Dwicket.replace.expected.results=true to automatically replace the expected
output file. |
protected <T extends Page> |
WicketTestCase.executeTest(Class<T> pageClass,
String filename)
Use
-Dwicket.replace.expected.results=true to automatically replace the expected
output file. |
<C extends Page> |
BaseWicketTester.isRenderedPage(Class<C> expectedRenderedPageClass)
Asserts the last rendered
Page class. |
<C extends Page> |
BaseWicketTester.startPage(Class<C> pageClass)
Renders a
Page from its default constructor. |
<C extends Page> |
BaseWicketTester.startPage(Class<C> pageClass,
PageParameters parameters)
Renders a
Page from its default constructor. |
<T extends Page> |
BaseWicketTester.startPage(T page)
Renders the page.
|
Modifier and Type | Method and Description |
---|---|
protected Page |
BaseWicketTester.createPage()
Creates a
Page to test a component with
BaseWicketTester.startComponentInPage(Component, IMarkupFragment) |
Page |
BaseWicketTester.getLastRenderedPage() |
protected Page |
DummyHomePage.getTestPage() |
Page |
BaseWicketTester.startPage(IPageProvider pageProvider)
Renders the page specified by given
IPageProvider . |
Modifier and Type | Method and Description |
---|---|
void |
WicketTester.executeTest(Class<?> testClass,
Page page,
String filename)
Use
-Dwicket.replace.expected.results=true to automatically replace the expected
output file. |
protected void |
WicketTestCase.executeTest(Page page,
String filename)
Use
-Dwicket.replace.expected.results=true to automatically replace the expected
output file. |
static List<WicketTesterHelper.ComponentData> |
WicketTesterHelper.getComponentData(Page page)
Gets recursively all
Component s of a given Page , extracts the
information relevant to us, and adds them to a List . |
Modifier and Type | Method and Description |
---|---|
void |
WicketTester.assertRenderedPage(Class<? extends Page> expectedRenderedPageClass)
Asserts a last-rendered
Page class. |
Constructor and Description |
---|
WicketTester(Class<? extends Page> homePage)
Creates a
WicketTester and automatically creates a WebApplication . |
Copyright © 2006–2016 Apache Software Foundation. All rights reserved.