Description:
|
{{RichFunction}} provides number of utility functions for inlining JavaScript calls refering to client-side component API.
Those functions (in fact utility methods) usually returns {{null}} when no such component found.
https://github.com/richfaces/components/blob/4.2.2.20120513-Final/misc/ui/src/main/java/org/richfaces/function/RichFunction.java#L91
This is not very clever, since developers might observe tough-times when refactoring or even authoring JSF pages - they will observe problems during testing or even worse in production.
In case no such component found in tree, I propose to either:
* throw exception * produce {{FacesMessage}}
(this will be displayed just in Development mode)
|