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.2. Utility components

These components are merely useful.
org.jboss.seam.core.facesMessages
Allows faces success messages to propagate across a browser redirect.
  • add(FacesMessage facesMessage) — add a faces message, which will be displayed during the next render response phase that occurs in the current conversation.
  • add(String messageTemplate) — add a faces message, rendered from the given message template which may contain EL expressions.
  • add(Severity severity, String messageTemplate) — add a faces message, rendered from the given message template which may contain EL expressions.
  • addFromResourceBundle(String key) — add a faces message, rendered from a message template defined in the Seam resource bundle which may contain EL expressions.
  • addFromResourceBundle(Severity severity, String key) — add a faces message, rendered from a message template defined in the Seam resource bundle which may contain EL expressions.
  • clear() — clear all messages.
org.jboss.seam.core.redirect
A convenient API for performing redirects with parameters (this is especially useful for bookmarkable search results screens).
  • redirect.viewId — the JSF view id to redirect to.
  • redirect.conversationPropagationEnabled — determines whether the conversation will propagate across the redirect.
  • redirect.parameters — a map of request parameter name to value, to be passed in the redirect request.
  • execute() — perform the redirect immediately.
  • captureCurrentRequest() — stores the view id and request parameters of the current GET request (in the conversation context), for later use by calling execute().
org.jboss.seam.core.httpError
A convenient API for sending HTTP errors.
org.jboss.seam.core.events
An API for raising events that can be observed via @Observer methods, or method bindings in components.xml.
  • raiseEvent(String type) — raise an event of a particular type and distribute to all observers.
  • raiseAsynchronousEvent(String type) — raise an event to be processed asynchronously by the EJB3 timer service.
  • raiseTimedEvent(String type, ....) — schedule an event to be processed asynchronously by the EJB3 timer service.
  • addListener(String type, String methodBinding) — add an observer for a particular event type.
org.jboss.seam.core.interpolator
An API for interpolating the values of JSF EL expressions in Strings.
  • interpolate(String template) — scan the template for JSF EL expressions of the form #{...} and replace them with their evaluated values.
org.jboss.seam.core.expressions
An API for creating value and method bindings.
  • createValueBinding(String expression) — create a value binding object.
  • createMethodBinding(String expression) — create a method binding object.
org.jboss.seam.core.pojoCache
Manager component for a JBoss Cache PojoCache instance.
  • pojoCache.cfgResourceName — the name of the configuration file. Default to treecache.xml.
org.jboss.seam.core.uiComponent
Allows access to a JSF UIComponent by its id from the EL. For example, we can write @In("#{uiComponent['myForm:address'].value}").
All of these components are always installed.

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