IDEMPIERE-2129 Tab type Sort not show the information of the tab header
This commit is contained in:
parent
3e6bb32758
commit
275ba19683
|
@ -25,6 +25,7 @@ import java.util.List;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
|
import org.adempiere.webui.AdempiereIdGenerator;
|
||||||
import org.adempiere.webui.LayoutUtils;
|
import org.adempiere.webui.LayoutUtils;
|
||||||
import org.adempiere.webui.component.Button;
|
import org.adempiere.webui.component.Button;
|
||||||
import org.adempiere.webui.component.Label;
|
import org.adempiere.webui.component.Label;
|
||||||
|
@ -267,7 +268,9 @@ public class ADSortTab extends Panel implements IADTabpanel
|
||||||
yesList.setVflex(true);
|
yesList.setVflex(true);
|
||||||
noList.setVflex(true);
|
noList.setVflex(true);
|
||||||
|
|
||||||
EventListener<Event> mouseListener = new EventListener<Event>()
|
setId(AdempiereIdGenerator.escapeId(gridTab.getName()));
|
||||||
|
|
||||||
|
EventListener<Event> mouseListener = new EventListener<Event>()
|
||||||
{
|
{
|
||||||
|
|
||||||
public void onEvent(Event event) throws Exception
|
public void onEvent(Event event) throws Exception
|
||||||
|
@ -866,8 +869,10 @@ public class ADSortTab extends Panel implements IADTabpanel
|
||||||
|
|
||||||
setAttribute(ATTR_ON_ACTIVATE_POSTED, Boolean.TRUE);
|
setAttribute(ATTR_ON_ACTIVATE_POSTED, Boolean.TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
Event event = new Event(ON_ACTIVATE_EVENT, this, b);
|
active = b;
|
||||||
|
|
||||||
|
Event event = new Event(ON_ACTIVATE_EVENT, this, b);
|
||||||
Events.postEvent(event);
|
Events.postEvent(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue