Ce contenu n'est pas disponible dans la langue sélectionnée.

30.5. Components for controlling conversations


The following components allow you to control conversations through either the application or the user interface.
org.jboss.seam.core.conversation
An API for controlling the current Seam conversation's attributes from within the application.
  • getId() — returns the current conversation ID.
  • isNested() — specifies whether the current conversation is a nested conversation.
  • isLongRunning() — specifies whether the current conversation is a long-running conversation.
  • getId() — returns the current conversation ID.
  • getParentId() — returns the conversation ID of the parent conversation.
  • getRootId() — returns the conversation ID of the root conversation.
  • setTimeout(int timeout) — sets the timeout for the current conversation.
  • setViewId(String outcome) — sets the view ID to use when switching back to the current conversation from the conversation switcher, conversation list, or breadcrumbs.
  • setDescription(String description) — sets the description of the current conversation to be displayed in the conversation switcher, conversation list, or breadcrumbs.
  • redirect() — redirects to the last well-defined view ID for this conversation. This is useful after log in challenges.
  • leave() — exits the scope of this conversation, without actually ending the conversation.
  • begin() — begins a long-running conversation (equivalent to @Begin).
  • beginPageflow(String pageflowName) — begin a long-running conversation with a pageflow (equivalent to @Begin(pageflow="...")).
  • end() — ends a long-running conversation (equivalent to @End).
  • pop() — pops the conversation stack, and returns to the parent conversation.
  • root() — returns to the root conversation of the conversation stack.
  • changeFlushMode(FlushModeType flushMode) — changes the flush mode of the conversation.
org.jboss.seam.core.conversationList
A manager component for the conversation list.
org.jboss.seam.core.conversationStack
A manager component for the conversation stack (breadcrumbs).
org.jboss.seam.faces.switcher
The conversation switcher.
All of these components are always installed.
Red Hat logoGithubredditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance. Découvrez nos récentes mises à jour.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Theme

© 2026 Red Hat
Retour au début