[richfaces-issues] [JBoss JIRA] (RF-12590) Unified approach for finding input element under component's root
Lukáš Fryč (JIRA)
jira-events at lists.jboss.org
Thu Nov 1 10:19:18 EDT 2012
Lukáš Fryč created RF-12590:
-------------------------------
Summary: Unified approach for finding input element under component's root
Key: RF-12590
URL: https://issues.jboss.org/browse/RF-12590
Project: RichFaces
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Components: core
Affects Versions: 4.3.0.M3
Reporter: Lukáš Fryč
Fix For: 4.3.0.M3
Some components like placeholder, focus and whole CSV use alghoritms for searching for appropriate input under a root of a DOM element tree (known by JSF component's clientId).
This alghoritm is used in CSV: https://github.com/richfaces/components/blob/develop/validator/ui/src/main/resources/META-INF/resources/org.richfaces/richfaces-csv.js#L110
Alghoritm should be generalized and exposed as window.RichFaces (richfaces.js) function, e.g.:
{code:javascript}
window.RichFaces.findInputs = function(clientId, callback);
{code}
The callback will be called for each found input (the jQuery collection handle will be returned).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list