Reply To: Matching rule with same pattern

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

#26898

chongma
Participant

here is a test war with source files. tested on TomEE plume. using rule builder.addRule(Join.path("/{prefix}{someId}").to("/first.xhtml")).where("prefix").matches("(first)");

if i load for instance http://localhost:8080/Test/first808 the result is javax.el.ELException: Cannot convert first of type class java.lang.String to class java.lang.Integer

if i debug and look inside FacesContext->externalContext->parametermap i see prefix=first, someId=first