I have a custom facelet tag which simply includes an outputText. Reason for using a custom tag is to modify the value depending on the entity field. For ex: if the outputText is used for a percentage value, I want to print the value with % without the client having to add it
My problem is how do I access the attributes value expression in the backing bean
<f:attribute name="value" value="#{value}" />
<h:outputText value="#{outputBean.value}"></h:outputText>
In the backing bean
public String getValue() {
//ValueExpression valueExpression = Read the page attributes and get the value expression of attribute "value"
// String value = set the value according to the value expression after necessary modifications
return value;
}