Re: Keep url parameters when posting

Splash Forums Rewrite Users Keep url parameters when posting Re: Keep url parameters when posting

#22820

detestable
Participant

With PhaseBinding.to(El.property("#{segmentBean.identifier}"))

SegmentBean.identifier is never set!

.defineRule()
.when(Direction.isInbound()
.and(Path.matches("/admin/{segmentIdentifier}/product")
.where("segmentIdentifier")
.bindsTo(PhaseBinding.to(El.property("#{segmentBean.identifier}")))
)
)
.perform(Forward.to("/WEB-INF/faces/admin/product.xhtml"))
.addRule(Join.path("/admin/{segmentIdentifier}/product").to("/WEB-INF/faces/admin/product.xhtml").when(Direction.isOutbound()))