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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0
    • 5.0.5
    • tapestry-core
    • 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

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: