Reply To: Matching rule with same pattern

Splash Forums Rewrite Users Matching rule with same pattern Reply To: Matching rule with same pattern

#26895

chongma
Participant

That dependency was missing and adding it seems to have cleared up some of the issues. The original issue still seems to persist. e.g.

builder.addRule(Join.path("/{prefix}{someId}")
.to("/first.xhtml")).where("prefix")
.matches("(first)");

It is retrieving someId like this:

FacesContext.getCurrentInstance().getApplication()
.evaluateExpressionGet(context,"#{param.someId}", Integer.class)

It is complaining that param.someId is identical to param.prefix i.e. a String populated with the value of “first”. I have tried binding parameters