Migration from PrettyFaces (adding rules at runtime)

Splash Forums Rewrite Users Migration from PrettyFaces (adding rules at runtime)

This topic contains 1 reply, has 1 voice, and was last updated by  kanikman 3 months, 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27381

    kanikman
    Participant

    I use in my application to navigate this configuration:

      <url-mapping id="*">
            <pattern value="/" />
            <view-id value="#{navigationBean.getViewPath}"/>
            <action>#{navigationBean.prettyAction}</action>
        </url-mapping>
    

    How can I do it with rewrite? I see nobody knows :). Maybe i explain what i want to do. I just want to add rules at runtime. I checked out all forum and i didn’t find answer to this quastion. I did not find a way to reaload configuration at runtime. The problem is that i want to add rules i didn’t know at the time of satrtup, so i cannot load rules from database at startup i don’t know them at startup :).

    Is there a way to add rule at runtime?

    • This topic was modified 3 months, 3 weeks ago by  kanikman.
    #27388

    kanikman
    Participant

    So, I have found solution myself. Here is tutorial: http://aikcms.blogspot.com/2016/04/ocpsoft-rewrite.html

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

You must be logged in to reply to this topic.

Comments are closed.