Can any one tell me how I can get the immediate attribute value from Java code ? I tried to the attribute in both the ways as below: My project is in jsf 1.2
<h:inputText value="" immediate="true">
<f:attribute name="immediate" value="true"/>
<f:attribute name="testAttribute" value="true"/>
</h:inputText>
I can see the 'testAttribute' in attributes Map but not the 'immediate' attribute.
if (UIComponentBase.getAttributes().containsKey("immediate")) {
this.immediate = (Boolean)comp.getAttributes().get("immediate");
}
The getAttributes() return an attributes map which does not have 'immediate' as an entry. Please suggest another way to read the value of an immediate attribute.