Add default parameter to pretty URL

Splash Forums Rewrite Users Add default parameter to pretty URL

This topic contains 2 replies, has 2 voices, and was last updated by  Enygmatikk 4 years, 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #27696


    Hello guys,

    I’m using pretty rewriting along with deltaspike. We’re using the lazy window id management of deltaspike which adds a paramater dswid to every page we have.

    I noticed that if I add to my pretty links :
    <f:param name="dswid" value="#{dsWindowContext.currentWindowId}" />

    There is no double page loading when navigating, leading to a better user experience. However, it’s a tedious process to add this at every pretty link, and it’s easily forgetable, especially when working in a multiple dev team.

    So here my question : Is there a way to add this parameter to every pretty link automaticaly ? for example in the pretty-config.xml ?

    Thanks !




    I don’t think there is an easy way to do this. At least I’ve no idea how one could achieve this. Sorry.



    Ok, it was just a shot in the dark anyway. Thanks for your answer ! I’ll figure out another way.

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘Rewrite Users’ is closed to new topics and replies.

Comments are closed.