[
https://issues.jboss.org/browse/RF-11797?page=com.atlassian.jira.plugin.s...
]
Lukáš Fryč edited comment on RF-11797 at 2/26/14 7:31 AM:
----------------------------------------------------------
One can use #{rich:jQuery('id')}:
http://docs.jboss.org/richfaces/latest_5_X/vdldoc/r/jQuery.fn.html
was (Author: lfryc):
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