Reply To: how to use param of h:commandLink with rewrite module

Splash Forums Rewrite Users how to use param of h:commandLink with rewrite module Reply To: how to use param of h:commandLink with rewrite module

#26971

facilus
Participant

Thank’s Christian

I resolve error of rewrite with changing the return value of action bean like this :

return "detail.xhtml?faces-redirect=true&idBean=" + getId();

And in rewrite class, i’ve add this rule and it works

.addRule(Join.path("/bean/detail/{idBean}").to("/detail.xhtml"));