Reply To: Join replaced by isInbound isOutbound not working

Splash Forums Rewrite Users Join replaced by isInbound isOutbound not working Reply To: Join replaced by isInbound isOutbound not working

#26459

The reason this is occurring is because you have not bound the value of {artistUrl} to anything. You need to bind it to something like this:

.addRule()
.when(Direction.isInbound().and(Path.matches("/{artistUrl}")))
.perform(Forward.to("/artist-albums.xhtml"))
.where("artistUrl").matches("[a-z0-9-]+").bindsTo(RequestBinding.parameter())

.addRule()
.when(Direction.isOutbound().and(Path.matches("/artist-albums.xhtml")))
.perform(Substitute.with("/{artistUrl}"))
.where("artistUrl").matches("[a-z0-9-]+").bindsTo(RequestBinding.parameter())

Other kinds of bindings include:

El.property()
El.method()

And a few others (search for implementations of Binding.

I hope this helps!
~Lincoln