Search

8.10.2. Workspace management and jPDL pageflow

download PDF
When a jPDL pageflow definition is in place, Seam switches to a particular conversation by restoring the current jBPM process state. This is a more flexible model, since it allows the same view-id to have different descriptions depending on the current <page> node. The description text is defined by the <page> node:
<pageflow-definition name="shopping"> 
  <start-state name="start"> 
    <transition to="browse"/> 
  </start-state> 
  <page name="browse" view-id="/browse.xhtml"> 
    <description>DVD Search: #{search.searchPattern}</description> 
    <transition to="browse"/> 
    <transition name="checkout" to="checkout"/> 
  </page> 
  <page name="checkout" view-id="/checkout.xhtml"> 
    <description>Purchase: $#{cart.total}</description> 
    <transition to="checkout"/> 
    <transition name="complete" to="complete"/> 
  </page> 
  <page name="complete" view-id="/complete.xhtml"> 
    <end-conversation /> 
  </page> 
</pageflow-definition>
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.