|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LinkFactory
A source for Link objects.
LinkCreationListener| Method Summary | |
|---|---|
Link |
createComponentEventLink(Page page,
String nestedId,
String eventType,
boolean forForm,
Object... context)
Creates a stateful action link. |
Link |
createPageRenderLink(Page page,
boolean override,
Object... activationContext)
Creates a render link for the page. |
Link |
createPageRenderLink(String logicalPageName,
boolean override,
Object... context)
As with createPageRenderLink(Page, boolean, Object[]), but the page is specified by logical name, rather
than as an instance. |
LinkCreationHub |
getLinkCreationHub()
Returns the hub, used to register and de-register LinkCreationListeners. |
| Method Detail |
|---|
Link createComponentEventLink(Page page,
String nestedId,
String eventType,
boolean forForm,
Object... context)
page - nestedId - 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(Page page,
boolean override,
Object... activationContext)
page - the page to which a link should be createdoverride - if true, then the provided activation context is always used even if emptyactivationContext - the activation context for the page
ComponentResourcesCommon.createPageLink(String, boolean, Object[])
Link createPageRenderLink(String logicalPageName,
boolean override,
Object... context)
createPageRenderLink(Page, boolean, Object[]), but the page is specified by logical name, rather
than as an instance. Note: renamed from createPageLink() in 5.1.
logicalPageName - the logical name of the page to generate a link tooverride - if true, then the provided activation context is always used even if emptycontext - activation context for the page
LinkCreationHub getLinkCreationHub()
LinkCreationListeners.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||