此内容没有您所选择的语言版本。

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 login 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

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat