Url with multiple parameter

Splash Forums Rewrite Users Url with multiple parameter

This topic contains 1 reply, has 2 voices, and was last updated by  KennethWilcox 3 hours, 46 minutes ago.

Viewing 2 posts - 1 through 2 (of 2 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?

    #29352

    KennethWilcox
    Participant

    Hi. I had a similar problem with the settings on the page https://writemyessay4me.org/speech. For a long time I tried to correct the mistake myself, but I could not do it. The problem was solved only after the intervention of technical support.

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

You must be logged in to reply to this topic.

Comments are closed.