Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1491

No way to get the logical page name for a page instance

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0.5
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      There is no way to get the logical name of page from a page instance. This is something that belongs in ComponentResources.

      It is needed because ComponentSource.getPage(String) takes the logical page name, but there's no way to generate that name in code; you can "guess" using getClass().getSimpleName() but that's not accurate for page classes in a sub-package.

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              hlship Howard M. Lewis Ship
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: