Richfaces ListShuttle Javascript Manipulation by jQuery
Hi again, for people who are still using Rich Faces with version 3.3.x and having problems in manipulating ShuttleList component via javascript, i have a solution for you. But i have to warn you before that it is not the best solution around. So I have a scenario in which when user selects not interested option then we need to deselect other options from the selected list. You may think that you can do it in server side but what if you have a problem with reRender because it does not works! Then here is my solution for you. Some people who just doesn't want to go to server side for such problem would like it i think. function beforeListChange(compId) { var srcValues = jQuery(jQuery(document.getElementById(compId)) .find('.rich-shuttle-body').find('.rich-shuttle-internal-tab')[0]).find('tr'); var tarValues = jQuery(jQuery(document.getElementById(compId)) .find('.rich-shuttle-body').find('.rich-shuttle-i...