Hi
Yes, you can use it. The BasicWorkflowUi is a piece of old code, so this API seems to be quite stable.
Nevertheless it's not our newest piece of code, so here is another way to solve your problem, a SessionScope bean. This bean lives as long as you session is active and dies after that:
import javax.faces.bean.SessionScoped;
@ManagedBean
@SessionScoped
public class SessionDemoBean
{
private String description;
public String getDescription()
{
return description;
}
public void setDescription(String description)
{
this.description = description;
}
}
Then you can call this bean with normal EL expressions from the xhtml:
<p:inputText value="#{sessionDemoBean.description}" />
There is also an example for this in our html-dialog-demos (Static Page): https://github.com/ivy-samples/ivy-project-demos/blob/master/html-dialog/html-dialog-demos/src/ch/ivyteam/htmldialog/demo/other/managedBean/ApplicationDemoBean.java