This content has been marked as final.
Show 3 replies
-
1. How to get multiple éléments with #{rich:element('')} ?
lfryc Mar 31, 2011 6:32 AM (in response to newbeewan)1 of 1 people found this helpfulHi Jaber,
you can use rich:jQuery component [1] and find appropriate selector.
[1] http://docs.jboss.org/richfaces/3.3.X/3.3.3.Final/en/devguide/html/rich_jQuery.html
-
2. How to get multiple éléments with #{rich:element('')} ?
newbeewan Mar 31, 2011 8:01 AM (in response to lfryc)I think it is an interesting way, but I don't understand how to create a getCheckboxes function with this tag, I try that :
<rich:jQuery name="getCheckBoxes" selector="#myDataTable input[type=checkbox]" timing="onJScall" query="this"/>
examples are not covering that aspect, is it possible ?
regards
-
3. Re: How to get multiple éléments with #{rich:element('')} ?
newbeewan Mar 31, 2011 9:26 AM (in response to newbeewan)Finally I've got the trick !
<script type="text/javascript"> var checkboxes; </script> <rich:jQuery selector="#myDataTable" timing="immediate" query="ready(function(){checkboxes = jQuery(this).find('input[type=checkbox]');})"/>
Thanks a lot !