Friday, April 27, 2012

Identifying "Type" of ADF "Set Property Listener"



Sometimes we often wonder, which type to select from "Set Property Listener" after inserting it into common components.
The best way to find is, look into the property inspector of component for all available listeners.

e.g. If on <af:commandButton> component, we are adding "Set Property Listener".
Then from property inspector we can know - action, launch & return are supported types.

Similarly, for <af:inputText> component the type available is only "valueChange".

Note: Improper use can result into: javax.faces.FacesException: javax.servlet.ServletException: java.lang.NoSuchMethodException

No comments:

Post a Comment