Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-757

Allow PageLink's "page" parameter to accept page instance or class instead of just logical name to add new type-safe way of render request generation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 5.1.0.5
    • None
    • tapestry-core

    Description

      It's a bit overkill to use ActionLink only for render requests (when no action is needed) just to use its ability to return target page instance from handler methods, preconfigured with required context values. This type safety comes at the expense of 2 HTTP requests.

      If PageLink's "page" parameter could not only accept logical page name, but also page instance, then it would be possible to achieve same type-safety with only one HTTP request.

      Attachments

        Activity

          People

            Unassigned Unassigned
            vjeran@tis.hr Vjeran Marcinko
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: