You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2009/12/16 00:35:18 UTC

[jira] Created: (TAP5-954) URLRewriting only applys to component event and page render requests, not to asset requests

URLRewriting only applys to component event and page render requests, not to asset requests
-------------------------------------------------------------------------------------------

                 Key: TAP5-954
                 URL: https://issues.apache.org/jira/browse/TAP5-954
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.1.0.5
            Reporter: Howard M. Lewis Ship


Since you don't get a chance to manipulate asset requests when rendered, you have to know to exclude them when processing an incoming request. This is one more step (and one more bit of background knowledge needed) to hide the T5 application under a new URL (/t5 prefix for everything).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (TAP5-954) URLRewriting only applys to component event and page render requests, not to asset requests

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship reassigned TAP5-954:
-----------------------------------------

    Assignee: Howard M. Lewis Ship

> URLRewriting only applys to component event and page render requests, not to asset requests
> -------------------------------------------------------------------------------------------
>
>                 Key: TAP5-954
>                 URL: https://issues.apache.org/jira/browse/TAP5-954
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.1.0.5
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>
> Since you don't get a chance to manipulate asset requests when rendered, you have to know to exclude them when processing an incoming request. This is one more step (and one more bit of background knowledge needed) to hide the T5 application under a new URL (/t5 prefix for everything).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TAP5-954) URLRewriting only applys to component event and page render requests, not to asset requests

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791033#action_12791033 ] 

Howard M. Lewis Ship commented on TAP5-954:
-------------------------------------------

I also find the URLRewriteRule interface a bit unwieldy; I would have preferred three methods:

- processRequest(Request) : Request
- rewritePageRender(Link, PageRenderRequestParameters) : Link
- rewriteComponentEvent(Link, ComponentEventRequestParameters) : Link

and (per this bug)

- rewriteAsset(Link, Asset) : Link

Possibly an additional service could be created to make it easier to manipulate Links in the desired way.

> URLRewriting only applys to component event and page render requests, not to asset requests
> -------------------------------------------------------------------------------------------
>
>                 Key: TAP5-954
>                 URL: https://issues.apache.org/jira/browse/TAP5-954
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.1.0.5
>            Reporter: Howard M. Lewis Ship
>
> Since you don't get a chance to manipulate asset requests when rendered, you have to know to exclude them when processing an incoming request. This is one more step (and one more bit of background knowledge needed) to hide the T5 application under a new URL (/t5 prefix for everything).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TAP5-954) URLRewriting only applys to component event and page render requests, not to asset requests

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791033#action_12791033 ] 

Howard M. Lewis Ship commented on TAP5-954:
-------------------------------------------

I also find the URLRewriteRule interface a bit unwieldy; I would have preferred three methods:

- processRequest(Request) : Request
- rewritePageRender(Link, PageRenderRequestParameters) : Link
- rewriteComponentEvent(Link, ComponentEventRequestParameters) : Link

and (per this bug)

- rewriteAsset(Link, Asset) : Link

Possibly an additional service could be created to make it easier to manipulate Links in the desired way.

> URLRewriting only applys to component event and page render requests, not to asset requests
> -------------------------------------------------------------------------------------------
>
>                 Key: TAP5-954
>                 URL: https://issues.apache.org/jira/browse/TAP5-954
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.1.0.5
>            Reporter: Howard M. Lewis Ship
>
> Since you don't get a chance to manipulate asset requests when rendered, you have to know to exclude them when processing an incoming request. This is one more step (and one more bit of background knowledge needed) to hide the T5 application under a new URL (/t5 prefix for everything).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (TAP5-954) URLRewriting only applys to component event and page render requests, not to asset requests

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship reassigned TAP5-954:
-----------------------------------------

    Assignee: Howard M. Lewis Ship

> URLRewriting only applys to component event and page render requests, not to asset requests
> -------------------------------------------------------------------------------------------
>
>                 Key: TAP5-954
>                 URL: https://issues.apache.org/jira/browse/TAP5-954
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.1.0.5
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>
> Since you don't get a chance to manipulate asset requests when rendered, you have to know to exclude them when processing an incoming request. This is one more step (and one more bit of background knowledge needed) to hide the T5 application under a new URL (/t5 prefix for everything).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.