]
Brian Leathem updated RF-12342:
-------------------------------
Fix Version/s: 4.3.0.Milestone2
RichFunction: warn user or fail when no component found for given
clientId
--------------------------------------------------------------------------
Key: RF-12342
URL:
https://issues.jboss.org/browse/RF-12342
Project: RichFaces
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Components: component-misc
Affects Versions: 4.2.2.Final
Reporter: Lukáš Fryč
Fix For: 4.3.0.Milestone2
{{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...
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)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: