org.apache.tapestry5.corelib.components.PageLink.xdoc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tapestry-core Show documentation
Show all versions of tapestry-core Show documentation
Central module for Tapestry, containing interfaces to the Java
Servlet API and all core services and components.
We're continuing with the example introduced in the
Grid
examples.
The UserList page renders a series of page links, passing the user id as the context:
The ViewUser page is responsible for converting that user id back into a User instance,
by providing an event handler method for the "activate" event.
Rendering out the User object, using a
BeanDisplay
component, is easy, and the template doesn't have to know or
care about the page activation context; it just reads the user property.