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

#23820

zozan
Participant

In addition to this, when I add rule .addRule(Join.path("/{Home}").to("/{Home}.xhtml")
.withInboundCorrection())
.when(DispatchType.isRequest())
.where("Home").matches("[^/.]+");
}
the link <h:commandLink id="viewProduct" action="#{productController.viewProduct()}">
<h:outputText value="#{item.title}"/>
<f:setPropertyActionListener target="#{productController.id}" value="#{item.id}"/>
</h:commandLink>
does not work. It just reloads the page.