[richfaces-issues] [JBoss JIRA] (RF-12328) Add a rich:jquery function in EL to call a jQuery object from a JSF id
Ján Jamrich (JIRA)
jira-events at lists.jboss.org
Tue Aug 7 20:59:07 EDT 2012
[ https://issues.jboss.org/browse/RF-12328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ján Jamrich closed RF-12328.
----------------------------
> Add a rich:jquery function in EL to call a jQuery object from a JSF id
> ----------------------------------------------------------------------
>
> Key: RF-12328
> URL: https://issues.jboss.org/browse/RF-12328
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: component
> Environment: All
> Reporter: Paul Dijou
> Assignee: Lukáš Fryč
> Priority: Minor
> Labels: jquery
> Fix For: 4.3.0.Milestone1
>
>
> Currently, if you want to retrieve a jQuery object from a JSF id, you need to write something like :
> {code:xml}
> $('##{rich:clientId('your-id')}')
> {code}
> And that's no even true because the moment you have nested components, there will probably have ":" separators, but that's a selector caracter in jQuery selectors, so it doesn't work.
> It would be great to have a shorcut like :
> {code:xml}
> #{rich:jquery('your-id']}
> {code}
> which is more clear and take care of ":" caracters.
> (please, assign me the issue, I've already written the patch)
--
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