Dynamic Url

Splash Forums PrettyFaces Users Dynamic Url

This topic contains 5 replies, has 3 voices, and was last updated by  ravindra 2 years, 7 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #25572

    ravindra
    Participant

    Hi sir,

    I have one query, how can i build dynamic url

    right now am building dynamic url using java script with plenty of query strings
    ex:http://localhost:80/pages/search.xhtml?uid=1&mode=2&timings=3 and etc

    how can i map this dynamic url in pretty faces?

    Thanks & Regards
    Ravindra

    #25573

    Hey Ravindra, PrettyFaces does not do URL mapping for JavaScript, so I’m not sure what you are asking. Could you please clarify what you expect to happen? Thanks.

    #25576

    ravindra
    Participant

    Hi Sir,

    in my project we are building url with query strings, this query string will change dynamically,

    ex:
    http://localhost:80/pages/search.xhtml ?uid=1&mode=2&timings=3

    above url query string will change run time.

    My question is

    How can i configure dynamic rewrite rule for that dynamic url?

    am expecting out put is

    http://localhost:80/pages/search/uid=1/mode=2/timings=3 and so on…..

    Please help me it will greatful to me

    Thanks & Regards
    Ravindra

    #25593

    ravindra
    Participant

    Hi sir,

    We have a search functionality where there are few filters. User can select any of the combinations of those filters.
    Current Search URL with query string: /pages/search.xhtml?cat=12&mode=1 (Where cat and mode in the query string are two search filters. Also the order of these params might change.)
    Required Patterns: /p/search/cat-12/mode-1 (or) /p/search/mode-1/cat-12 (or) /p/search/mode-1 (or) /p/search/cat-12
    These patterns depends on user selecting the filters. User can select any of the combinations or none of those filters.
    Please advice a solution for our requirement.

    Thanks & Regards
    Ravindra

    #25595

    I don’t think anybody will help you if you repost the same question over and over again on different unrelated threads.

    #25597

    ravindra
    Participant

    Sorry Christian,

    lincoln reference purpose i posted again , hope you understand.

    Regards
    Ravindra

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

You must be logged in to reply to this topic.

Comments are closed.