IDEMPIERE-2129 Tab type Sort not show the information of the tab header

This commit is contained in:
Carlos Ruiz 2014-09-05 15:26:01 -05:00
parent 3e6bb32758
commit 275ba19683
1 changed files with 8 additions and 3 deletions

View File

@ -25,6 +25,7 @@ import java.util.List;
import java.util.Set;
import java.util.logging.Level;
import org.adempiere.webui.AdempiereIdGenerator;
import org.adempiere.webui.LayoutUtils;
import org.adempiere.webui.component.Button;
import org.adempiere.webui.component.Label;
@ -267,6 +268,8 @@ public class ADSortTab extends Panel implements IADTabpanel
yesList.setVflex(true);
noList.setVflex(true);
setId(AdempiereIdGenerator.escapeId(gridTab.getName()));
EventListener<Event> mouseListener = new EventListener<Event>()
{
@ -867,6 +870,8 @@ public class ADSortTab extends Panel implements IADTabpanel
setAttribute(ATTR_ON_ACTIVATE_POSTED, Boolean.TRUE);
}
active = b;
Event event = new Event(ON_ACTIVATE_EVENT, this, b);
Events.postEvent(event);
}