Tapestry 5
  1. Tapestry 5
  2. TAP5-743

It is too much work to hide all T5 pages inside a virtual folder, for use in mixed-implementation deployments

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.0.5
    • Fix Version/s: 5.3
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      In a mixed-implementation deployment (mixing Tapestry 5 with Tapestry 4 or some other framework), it would be nice if the T5 apps could be "hidden" in a virtual /t5 folder.

      This is doable, but awkward and ugly, today.

      Ideally, this would be a matter of changing the web.xml mapping to:

      <url-filter>/t5/*</url-filter>

      and making some form of configuration change, i.e.,

      configuration.add(ConfigurationConstants.TAPESTRY_APP_FOLDER, "t5");

      This would affect link generation, prefixing urls with "t5/" (including the virtual /assets folder, which would be /t5/assets). Since the /t5 portion is part of the URL mapping, it would not be part of the request pathInfo, so existing dispatch code would not need to change.

      Of course, Websphere has some bugs in this area that might cause some grief.

        Activity

        Hide
        Thiago H. de Paula Figueiredo added a comment -

        Can't this be implemented with <url-filter>/t5/*</url-filter> in web.xml and a URL rewriting rule (inbound and outbound)? Or the URL rewriting would not happen before the dispatchers execution?

        Show
        Thiago H. de Paula Figueiredo added a comment - Can't this be implemented with <url-filter>/t5/*</url-filter> in web.xml and a URL rewriting rule (inbound and outbound)? Or the URL rewriting would not happen before the dispatchers execution?
        Hide
        Inge Solvoll added a comment -

        I would be extremely interested in finding out if this can be done with url rewriting...

        Show
        Inge Solvoll added a comment - I would be extremely interested in finding out if this can be done with url rewriting...
        Hide
        Inge Solvoll added a comment -

        Hei!

        Jeg jobber ikke lenger i Dossier Solutions.

        Du kan nå meg på følgende epost:

        inge.solvoll@gmail.com

        Show
        Inge Solvoll added a comment - Hei! Jeg jobber ikke lenger i Dossier Solutions. Du kan nå meg på følgende epost: inge.solvoll@gmail.com
        Hide
        Massimo Lusetti added a comment -
        Show
        Massimo Lusetti added a comment - Isn't this related to https://issues.apache.org/jira/browse/TAP5-954 ?

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development