Changed to :
A.all('input[name=<portlet:namespace/>rowIds]:checked').each(function(object)
{}