rem: if (Mailbox.currentMessageId == null) { alert("Please select a message"); } else { 
add: var selList = Mailbox.getSelectedMessages();  if (selList > 0) { 
context: 	submitCompose : function(action, form) {		if (Mailbox.currentMessageId == null) {			alert("Please select a message");		}		else {			document.getElementById("portlet-mail-compose-action").value = action;			document.getElementById("portlet-mail-message-id").value = Mailbox.currentMessageId;			document.getElementById("portlet-mail-folder-id").value = Mailbox.currentFolder.id;			submitForm(form);		}	},
meta: 10143	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10143/c7d63d49d10ff470e1cf72c5e56423f5a403b47c/mailbox.js/buggy/portal-web/docroot/html/js/portlet/mailbox.js