we got an application with many Tabs …
I want to change the Caption and Icon of the Tabsheet when i pushing an button.
For that i thought i can use :
this.setCaption("Deaktiviert: "+this.benutzer.getBenutzerId());
this.setIcon(IcoMoon1.USER_TIMES);
this.setStyleName("la-red-tab");
While debugging i see that the Object changed its Caption and Icon, but in the Browser no change appears.
So i looked for “Repaint” “Refresh” or something but no results.
I tryed to be clever and use “replaceComponent(this,this)” but then the Code was broken of no attached Fields
Is there anyway to change the Caption and Icon of the Tabsheet?
Maybe bin it to an Datasource and Change the Datasource?
(Im confused cause in the
Demo it works with Tab4)