Package org.omnifaces.taghandler


package org.omnifaces.taghandler
  • Classes
    Class
    Description
    Handler that can be used by components which wish to receive various extra services.
    The <o:converter> is a taghandler that extends the standard <f:converter> tag family with support for deferred value expressions in all attributes.
    So that we can have a serializable converter.
    The <o:enableRestorableView> taghandler instructs the view handler to recreate the entire view whenever the view has been expired, i.e. whenever ViewHandler.restoreView(FacesContext, String) returns null and the current request is a postback.
    The <o:ignoreValidationFailed> taghandler allows the developer to ignore validation failures when executing an UICommand action.
    The <o:importConstants> taghandler allows the developer to have a mapping of all constant field values of the given fully qualified name of a type in the request scope.
    Specific map implementation which wraps the given map in Collections.unmodifiableMap(Map) and throws an IllegalArgumentException in ImportConstants.ConstantsMap.get(Object) method when the key doesn't exist at all.
    The <o:importFunctions> taghandler allows the developer to have access to all functions of the given fully qualified name of a type in the Facelet scope using the usual EL functions syntax without the need to register them in .taglib.xml file.
    The <o:loadBundle> taghandler basically extends the standard <f:loadBundle> with a new loader attribute allowing you to explicitly set the desired ClassLoader where the resource bundle should be looked up.
    The <o:massAttribute> sets an attribute of the given name and value on all nested components, if they don't already have an attribute set.
    The <o:methodParam> is a tag handler that can be used to pass a method expression as attribute into a Facelets tag.
    The <o:skipValidators> taghandler allows the developer to entirely skip validation when executing an UICommand or ClientBehaviorHolder action.
    The <o:tagAttribute> is a tag handler that can be used to explicitly declare a tag attribute on a Facelets tag file.
    The <o:validateBean> allows the developer to control bean validation on a per-UICommand or UIInput component basis, as well as validating a given bean at the class level.
    The <o:validateUniqueColumn> validates if the given UIInput component in an UIData component has an unique value throughout all rows, also those not visible by pagination.
    The <o:validator> is a taghandler that extends the standard <f:validator> tag family with support for deferred value expressions in all attributes.
    So that we can have a serializable validator.
    <o:viewParamValidationFailed> allows the developer to handle a view parameter validation failure with either a redirect or an HTTP error status, optionally with respectively a flash message or HTTP error message.