|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@UsesOrderedConfiguration(value=LinkCreationListener2.class) public interface LinkSource
A source for Link
objects.
LinkCreationListener2
Method Summary | |
---|---|
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. |
Method Detail |
---|
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.createActionLink(String, boolean, 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 page
ComponentResourcesCommon.createPageLink(String, boolean, Object[])
LinkCreationHub getLinkCreationHub()
LinkCreationListener2
s.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |