You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Alex Craddock (Jira)" <ji...@apache.org> on 2020/01/30 16:51:00 UTC

[jira] [Updated] (TAP5-2620) New helper class for clean URL's

     [ https://issues.apache.org/jira/browse/TAP5-2620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Craddock updated TAP5-2620:
--------------------------------
    Description: 
When you create a link to a page at the moment you need to use PageRenderLinkSource, if there are any internal params such as t:state, this is automatically added as a query parameter. It would be good if we could create a Page Render Link that does not contain any query parameters.

This is due to an issue which we have seen where we do not require any query parameters on a URL but didn't remove the params before calling toAbsoluteUrl.

 

I would like the URL created to be able to retain any context params.

  was:
When you create a link to a page at the moment you need to use PageRenderLinkSource, if there are any internal params such as t:state, this is automatically added as a query parameter. It would be good if we could create a Page Render Link that does not contain any query parameters.

This is due to an issue which we have seen where we do not require any query parameters on a URL but didn't remove the params before calling toAbsoluteUrl


> New helper class for clean URL's
> --------------------------------
>
>                 Key: TAP5-2620
>                 URL: https://issues.apache.org/jira/browse/TAP5-2620
>             Project: Tapestry 5
>          Issue Type: New Feature
>          Components: tapestry-core
>            Reporter: Alex Craddock
>            Priority: Major
>              Labels: features
>
> When you create a link to a page at the moment you need to use PageRenderLinkSource, if there are any internal params such as t:state, this is automatically added as a query parameter. It would be good if we could create a Page Render Link that does not contain any query parameters.
> This is due to an issue which we have seen where we do not require any query parameters on a URL but didn't remove the params before calling toAbsoluteUrl.
>  
> I would like the URL created to be able to retain any context params.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)