I'm using Portal Layout to show widgets and want a single refresh tool on each panel (which I've done), but how can I tell which panel 'button' has been pressed.
I've modified the example for Portal layout below, but can't see anything in the event that indicates something I can reference.
function addPanels(portalState){
	var columns = portalState.split(':');
	for(var columnIndex=0; columnIndex<columns.length; columnIndex++){
		var cc = columns[columnIndex].split(',');
		for(var j=0; j<cc.length; j++){
			var options = getPanelOptions(cc[j]);
			if (options){
			options.tools=[
				{	id: j,
					iconCls:'icon-refresh', 
					handler:function(e)
					{
						console.log(e);
						console.log(this);
						console.log($(this));
					}
				}
				];
				
				var p = $('<div/>').attr('id',options.id).appendTo('body');
				p.panel(options);
				$('#ucPortal').portal('add',{
					panel:p,
					columnIndex:columnIndex
				});
			}
		}
	}
	
}