Class ValueExpressionUnwrapper

java.lang.Object
org.apache.empire.jsf2.utils.ValueExpressionUnwrapper

public class ValueExpressionUnwrapper extends Object
ValueExpressionUnwrapper
Author:
doebele This class is used to unwrap nested ValueExpressions This is useful for Faclet-Taglib-Tags, that forward attributes which may or may not be provided for the tag. IMPORTANT: The expression in the Facelet-Tag must use a '$' character instead of a '#' Here is an example for such a tag <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:e="http://java.sun.com/jsf/composite/empire"> <tr> <e:control column="#{column}" record="#{record}" value="${value}" </e:control> </tr> </ui:composition> In this example the "${value}" will be unwrapped from the TagEncodingHelper in order to dectect whether or not an expression has been provided.
  • Constructor Details

    • ValueExpressionUnwrapper

      protected ValueExpressionUnwrapper()
  • Method Details