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 2 months ago.

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

    Enygmatikk
    Participant

    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 !

    Regards,

    Paul

    #27697

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

    #27698

    Enygmatikk
    Participant

    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)

You must be logged in to reply to this topic.

Comments are closed.