Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

23.4. Components for controlling conversations

The next group of components allow control of conversations by the application or user interface.
org.jboss.seam.core.conversation
API for application control of attributes of the current Seam conversation.
  • getId() — returns the current conversation id
  • isNested() — is the current conversation a nested conversation?
  • isLongRunning() — is the current conversation 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 be used 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() — redirect to the last well-defined view id for this conversation (useful after login challenges).
  • leave() — exit the scope of this conversation, without actually ending the conversation.
  • begin() — begin a long-running conversation (equivalent to @Begin).
  • beginPageflow(String pageflowName) — begin a long-running conversation with a pageflow (equivalent to @Begin(pageflow="...")).
  • end() — end a long-running conversation (equivalent to @End).
  • pop() — pop the conversation stack, returning to the parent conversation.
  • root() — return to the root conversation of the conversation stack.
  • changeFlushMode(FlushModeType flushMode) — change the flush mode of the conversation.
org.jboss.seam.core.conversationList
Manager component for the conversation list.
org.jboss.seam.core.conversationStack
Manager component for the conversation stack (breadcrumbs).
org.jboss.seam.core.switcher
The conversation switcher.
All of these components are always installed.

 
 
  Published under the terms of the Open Publication License Design by Interspire