org.apache.myfaces.custom.loadbundle
Class AbstractLoadBundleTag

java.lang.Object
  extended by javax.faces.webapp.UIComponentTag
      extended by org.apache.myfaces.custom.loadbundle.AbstractLoadBundleTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
LoadBundleTag

public abstract class AbstractLoadBundleTag
extends javax.faces.webapp.UIComponentTag

A load-bundle alternative which allows to use load-bundle even on AJAX-enabled pages.

A tag that allows to load bundles not only on rendering, but whenever the page author needs it. By default, it loads it on every lifecycle phase except restore-state and save-state. The core-load-bundle only loads its message-bundle on rendering - this load-bundle does it on every life-cycle, and optionally whenever the method loadBundle is called.

Author:
Martin Marinschek

Field Summary
 
Fields inherited from class javax.faces.webapp.UIComponentTag
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
AbstractLoadBundleTag()
           
 
Method Summary
 int doStartTag()
           
 
Methods inherited from class javax.faces.webapp.UIComponentTag
doEndTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getComponentType, getCreated, getDoEndValue, getDoStartValue, getFacesContext, getFacetName, getId, getParent, getParentUIComponentTag, getRendererType, isSuppressed, isValueReference, release, setBinding, setId, setPageContext, setParent, setProperties, setRendered, setupResponseWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractLoadBundleTag

public AbstractLoadBundleTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.faces.webapp.UIComponentTag
Throws:
javax.servlet.jsp.JspException


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.