Url with multiple parameter

Splash Forums Rewrite Users Url with multiple parameter

This topic contains 0 replies, has 1 voice, and was last updated by  vished 1 month ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #29205

    vished
    Participant

    I have the following issue:

    I have a page: /page.jsf

    In my page I have more then only one parameter. E.g. I have: – parameter1 – parameter2

    String parameter1 = FacesContext.getCurrentInstance().getExternalContext()
    .getRequestParameterMap().get(“parameter1”);

    String parameter2 = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap()
    .get(“parameter2”);
    Currently I understood I can add this in my UrlConfigProvider class:

    .addRule(Join.path(“/page/{parameter1}”).to(“/portal/mypage.jsf”) .withInboundCorrection())

    This is working for one parameter.

    But how can I do this for multiple parameter, so the URL is then: /page/{parameter1}/{parameter2} ….

    Any ideas?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

Comments are closed.