Add Rule Failing

Splash Forums Rewrite Users Add Rule Failing

This topic contains 1 reply, has 1 voice, and was last updated by  ravindra 2 years, 1 month ago.

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

    ravindra
    Participant

    Am configured role as follows ,
    addRule(Join.path(“/courseInfo/{userAccountId}/{courseId}/{courseTitle} /”).to(“courseDeatils.xhtml”).withInboundCorrection())
    expected : userAccountId =1542 , courseId=356 , courseTitle=Java
    https://localhost:8443/course/1542/356/Java
    Now I created course name like Java/ J2EE/SOA
    Now URL
    https://localhost:8443/ courseInfo /1542/357/ Java/ J2EE/SOA
    Now the rule getting fail , I applied wild cards something follows but still Rule is failing
    addRule(Join.path(“/course/{userAccountId}/{courseId}/{courseTitle} /**”).to(“courseInformation.xhtml”).withInboundCorrection())

    Please help on this its great helpful to me.

    Thanks
    Raveendra

    • This topic was modified 2 years, 1 month ago by  ravindra.
    #26307

    ravindra
    Participant

    Got the solution i applied some thing like follows

    addRule(Join.path(“/courseInfo/{userAccountId}/{courseId}/{courseTitle} { PARAM_SLASH }”).to(“courseDeatils.xhtml”).withInboundCorrection()).where(PARAM_SLASH).matches(“/.*”)

    Thanks
    Raveendra

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

You must be logged in to reply to this topic.

Comments are closed.