Current Mapping

Splash Forums Rewrite Users Current Mapping

This topic contains 2 replies, has 2 voices, and was last updated by  captainmorgan 2 years, 9 months ago.

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

    captainmorgan
    Participant

    How do you get the current page mapping?
    I need to know what the current mapping URL is so I can load up the correct data from the database and display it.
    In pretty faces, you can use PrettyContext.getCurrentInstance().getCurrentMapping().getPattern(), is there something similar with rewrite?

    #25253

    So you mean you need the original URL before it has been forwarded. See question #3 here:

    http://ocpsoft.org/rewrite/docs/faq

    #25289

    captainmorgan
    Participant

    That’s what I’m after. Thanks!

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

You must be logged in to reply to this topic.

Comments are closed.