I'm working on a custom activity for SAP ME. My basic requirement is to 'gray out' the label under certain circumstances determined by the logic in the Controller class. My view contains "fh:outputLabel" elements (taglib prefix="fh" uri=http://java.sun.com/jsf/html). I would like to put an EL expression into the styleClass attribute. This would be the example:
<fh:outputLabel value="#{gapiI18nTransformer['NONPOD_INVTRANSFER.transqty.LABEL']}"
styleClass="#{inventoryTransferBean.transQtyLabelStyle}" />
From a bit of exploration of the JSF documentation, it appears that JSF 2.2 allows this, while JSF 1.1 does not. In fact, when I try it, the entire page disappears. Nothing even appears in View Source.
Any suggestions?
Thanks,
Barry