Hi,

I have a problem with ListViews. Indeed, when there are two Lists in the same page, checkboxs, the delete button and titles don't function.

Code:
//Liste des candidats
$ListView = new ListView();

if(is_admin($current_user) && $_REQUEST['module'] != 'DynamicLayout' && !empty($_SESSION['editinplace'])){
		$header_text = "&nbsp;<a href='index.php?action=index&module=DynamicLayout&from_action=ListView&from_module=".$_REQUEST['module'] ."'>".get_image($image_path."EditLayout","border='0' alt='Edit Layout' align='bottom'")."</a>";
}
$ListView->initNewXTemplate( 'modules/Candidats/ListView.html',$current_module_strings);
$ListView->setHeaderTitle($current_module_strings['LBL_LIST_FORM_TITLE']. $header_text );
$ListView->setQuery($where, "", "candidats.date_entered", "CANDIDAT");
$ListView->processListView($seedCandidats, "main", "CANDIDAT");

echo "\n<BR>\n";

//Liste des collaborateurs
if(isset($_REQUEST['inclure_collaborateurs'])&& $_REQUEST['inclure_collaborateurs'] == 'on') {
$ListViewColl = new ListView();

if(is_admin($current_user) && $_REQUEST['module'] != 'DynamicLayout' && !empty($_SESSION['editinplace'])){
		$header_text = "&nbsp;<a href='index.php?action=index&module=DynamicLayout&from_action=ListView&from_module=".$_REQUEST['module'] ."'>".get_image($image_path."EditLayout","border='0' alt='Edit Layout' align='bottom'")."</a>";
}
$ListViewColl->initNewXTemplate( 'modules/Candidats/ListView.html',$current_module_strings);
$ListViewColl->setHeaderTitle($current_module_strings['LBL_LIST_FORM_TITLE_COLLABORATEUR']. $header_text );
$ListViewColl->setQuery($where_coll, "", "users.date_entered", "CANDIDAT");
$ListViewColl->processListView($seedCollaborateurs, "main", "CANDIDAT");
}
?>
I don't find where is the problem... Have you got an idea ?

Thank you,

Thomas