Friendly URLs Page

JumpStart Max includes the configuration code for friendly URLs but it is not enabled. If you wish to enable it, do this: The normal URLs for Tapestry's engine services were described in "Restart" and Other Engine Services. Here's the equivalent list when friendly URLs are enabled.

Example Service What it does Method Generated Friendly URL
ServiceLink service="restart" restart Trashes the session and restart the app. GET /restart.svc
ServiceLink service="home" home Takes you Home, as specified in .application.
GET /home.svc
ServiceLink service="reset" reset Trashes the page cache. Requires org.apache.tapestry.enable-reset-service=true. See Configuring Tapestry. GET /reset.svc?page=pages/starters/FriendlyURLsPage
DirectLink listener="..." direct This service invokes a listener in the current page. It is the workhorse service of Tapestry. GET /pages/starters/FriendlyURLsPage,$DirectLink_0.direct
POST /pages/starters/FriendlyURLsPage,$Form.direct
POST /pages/starters/FriendlyURLsPage,$Form.direct
LinkSubmit action="..." POST (uses javascript to put the data into a POST)
/pages/starters/FriendlyURLsPage,$Form.direct
ExternalLink page="..." parameters="..." external Goes to a page that can be referenced externally. GET /external.svc?page=...&sp=...&sp=...
PageLink page="..." page Goes to a page. GET ...
ActionLink action [ActionLink is deprecated] GET  
  asset Used behind the scenes to get images and other assets. GET  
To Login