Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Mar 2008
    Location
    Berlin
    Posts
    25
    Vote Rating
    0
    madmaxmatze is on a distinguished road

      0  

    Default [FNR] TabPanel.update(Widget, TabItemConfig) removes styling

    [FNR] TabPanel.update(Widget, TabItemConfig) removes styling


    In order to change the caption for tabs after they have been added, I tried to use TabPanel.update as described here: http://dev.sencha.com/deploy/gxt-3.0...temConfig.html

    The update itself is working, but the Styling/HTML of the tab header gets fully lost. You can test this issue, with the following code:

    Code:
    public class MyModule implements EntryPoint {
    	public void onModuleLoad() {
    		
    		BorderLayoutContainer container = new BorderLayoutContainer();
    		container.setWidth(500);
    		container.setHeight(500);
    		
    		final TabPanel tabs = new TabPanel();
    		
    		final ContentPanel cp1 = new ContentPanel();
    		cp1.setHeadingHtml("Tab 1 Headline");
    		final TabItemConfig tabItem1Config = new TabItemConfig("Tab 1");
    		tabs.add(cp1, tabItem1Config);
    			
    		ContentPanel cp2 = new ContentPanel();
    		cp2.setHeadingHtml("Tab 2 Headline");
    		TabItemConfig tabItem2Config = new TabItemConfig("Tab 2");
    		tabs.add(cp2, tabItem2Config);
    		
    		Button b = new Button("Update the caption for Tab 1");
    		b.addClickHandler(new ClickHandler () {
    			@Override
    			public void onClick(ClickEvent event) {
    				tabItem1Config.setHTML("New Tab 1");
    				tabs.update(cp1, tabItem1Config);
    			}
    		});
    		
    		BorderLayoutData layoutData = new BorderLayoutData(100);
    		container.setCenterWidget(tabs, layoutData);
    		container.setNorthWidget(b, layoutData);
    		
    		RootLayoutPanel.get().add(container);
    	}
    }

  2. #2
    Sencha User
    Join Date
    Mar 2008
    Location
    Berlin
    Posts
    25
    Vote Rating
    0
    madmaxmatze is on a distinguished road

      0  

    Default


    Any reaction? Did anybody from the GXT dev team try to reproduce this error with the test case I provided?

  3. #3
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    We bugreport was noted and will be looked into. Please keep in mind that we are still in pre beta stage.

  4. #4
    Sencha User WesleyMoy's Avatar
    Join Date
    Oct 2009
    Location
    Redwood City, California
    Posts
    402
    Vote Rating
    2
    WesleyMoy is on a distinguished road

      0  

    Default


    Thanks for bringing this to our attention. This bug is now fixed in SVN.

Thread Participants: 2

Tags for this Thread