[
https://issues.jboss.org/browse/RF-11797?page=com.atlassian.jira.plugin.s...
]
Lukáš Fryč resolved RF-11797.
-----------------------------
Fix Version/s: (was: 5-Tracking)
Resolution: Out of Date
One can use #{rich:jQuery('id')}.
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
For more information on JIRA, see:
http://www.atlassian.com/software/jira