We have recently upgraded from JSF 1.x to JSF 2.x
We have a up and running application since 2 years. The issue we are facing is:
we have below code in JSF
<h:inputText id="DescriptionText" required="true" value="#{scenarioDesc}">
<f:converter converterId="RequiredConvertor"/>
<f:attribute name="label" value="#{giamsBundle['lbl.request.summary.desc.validation']}"/>
</h:inputText>
We Use required converter to get the label value as below
String componentLabel = (String) component.getAttributes().get("label");
But componentLabel returns null. It is not able to get value when we define a resource bundle name but works fine when we add any string to the value for f:attribute tag
Please help.