Reply To: Map part of URL to Parameter

Splash Forums Rewrite Users Map part of URL to Parameter Reply To: Map part of URL to Parameter

#23835

zozan
Participant

I solved the styles problem by adding #{request.contextPath} to the links. And for The commandLink by `.addRule()
.when(Path.matches(“/products/{id}”))
.perform(Redirect.temporary(context.getContextPath() + “/products#”))` Thanks, your point to add a check for id is a good idea and that I don’t need to set the DispatchType.isRequest(). I’m quite realizing the work of rewrite. Thanks again.