[richfaces-issues] [JBoss JIRA] (RF-11797) Add shortcut for calling jQuery functions on components

Lukáš Fryč (Created) (JIRA) jira-events at lists.jboss.org
Wed Dec 7 03:45:40 EST 2011


Add shortcut for calling jQuery functions on components
-------------------------------------------------------

                 Key: RF-11797
                 URL: https://issues.jboss.org/browse/RF-11797
             Project: RichFaces
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: component
    Affects Versions: 4.1.0.CR2
            Reporter: Lukáš Fryč
            Assignee: Lukáš Fryč


Currently it's necessary to write

{code}
jQuery('#{rich:element('componentId')}).callSomething(...)
{code}

It would be great to provide shortcut:

{code}
#{rich:jquery('componentId')}.callSomething(...)
{code}

or provide JS function:

{code}
RichFaces.$('clientId')
{code}

to delegate to {{jQuery('clientId')}}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the richfaces-issues mailing list