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

_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to