Is it possible to set current displayed tab programmatically in
For example, I want that for two different request to the same page which con
According to primefaces documentation there's a step
attribute for p:wizard
tag, which specifies the step of the wizard you're currently in.
attribute: step
default value: 0
type: String
description: Id of the current step in flow
You must bind this attribute to a value of your backing bean and maintain it during redirection and coming back. If your wizard's bean is @ViewScoped
you'll loose that info during redirection step, so you have to pass it using a view param or flash scope.