[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
Mon Nov 12 03:47:18 EST 2012
[ https://issues.jboss.org/browse/RF-12590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12730820#comment-12730820 ]
Lukáš Fryč edited comment on RF-12590 at 11/12/12 3:46 AM:
-----------------------------------------------------------
QUnit tests should be written to guard this feature.
was (Author: lfryc):
The QUnit tests should be written to guard this feature.
> 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č
> Assignee: Lukáš Fryč
> Priority: Minor
> 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