Package org.apache.tapestry5.services
Interface LinkCreationListener2
- All Known Implementing Classes:
ClientPersistentFieldStrategy,LinkDecorationListener
public interface LinkCreationListener2
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreatedComponentEventLink(Link link, ComponentEventRequestParameters parameters) Invoked when an action link (a link that asks a component to perform an action) is created.voidcreatedPageRenderLink(Link link, PageRenderRequestParameters parameters) Invoked when a page link (a link that renders a page) is created.
-
Method Details
-
createdPageRenderLink
Invoked when a page link (a link that renders a page) is created. The listener may decide to encode additional query parameters into the link (viaLink.addParameter(String, String)).- Parameters:
link- the newly created linkparameters- information encoded into the link- Since:
- 5.2.0
-
createdComponentEventLink
Invoked when an action link (a link that asks a component to perform an action) is created. The listener may decide to encode additional query parameters into the link (viaLink.addParameter(String, String)).- Parameters:
link- the newly created linkparameters- information encoded into the link
-