Tuesday, May 1, 2012

ADF: Make findComponentByAbsoluteId JS work


JS: AdfPage.PAGE.findComponentByAbsoluteId(componentId); 
To make it work:
  • There must be some validation/behaviour property or client attribute present in that component (as in figure, maximum length is present).
  • Or the component itself should be client component.
<af:inputText label="Label 1" id="it1">
   <af:clientAttribute name="defaultFocusField" value="Y"/>
</af:inputText>

No comments:

Post a Comment