@UsesOrderedConfiguration(value=LinkCreationListener2.class) public interface LinkSource
Link
objects.LinkCreationListener2
Modifier and Type | Method and Description |
---|---|
Link |
createComponentEventLink(Page page,
String nestedId,
String eventType,
boolean forForm,
Object... context)
Creates a stateful action link.
|
Link |
createPageRenderLink(String pageName,
boolean override,
Object... pageActivationContext)
Creates a render link for the page.
|
LinkCreationHub |
getLinkCreationHub()
Returns the hub, used to register and de-register
LinkCreationListener2 s. |
Link createComponentEventLink(Page page, String nestedId, String eventType, boolean forForm, Object... context)
page
- the page holding the componentnestedId
- the component's qualified id (a sequence of simple ids, separated by dots).eventType
- the type of event to triggerforForm
- true if the link is for a form, false otherwisecontext
- Additional path data, each value will be converted to a string and appended to the URI @return a
linkComponentResourcesCommon.createEventLink(String, Object...)
Link createPageRenderLink(String pageName, boolean override, Object... pageActivationContext)
pageName
- name of the page to which a link should be createdoverride
- if true, then the provided activation context is always used even if emptypageActivationContext
- the activation context for the pagePageRenderLinkSource.createPageRenderLink(String)
,
PageRenderLinkSource.createPageRenderLinkWithContext(String, Object[])
LinkCreationHub getLinkCreationHub()
LinkCreationListener2
s.${project.version} - Copyright © 2003-2015 The Apache Software Foundation.