Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member
    Join Date
    Oct 2008
    Posts
    79
    Vote Rating
    0
    Cputerace is on a distinguished road

      0  

    Default [FIXED] [2.0-RC1] exeption in non-hosted mode treePanel.setChecked() pre-render

    [FIXED] [2.0-RC1] exeption in non-hosted mode treePanel.setChecked() pre-render


    Code:
    package com.mycompany.gwtprototype.client;
    
    import com.extjs.gxt.ui.client.data.BaseModelData;
    import com.extjs.gxt.ui.client.data.BaseTreeModel;
    import com.extjs.gxt.ui.client.store.TreeStore;
    import com.extjs.gxt.ui.client.widget.Viewport;
    import com.extjs.gxt.ui.client.widget.layout.FitLayout;
    import com.extjs.gxt.ui.client.widget.treepanel.TreePanel;
    import com.google.gwt.core.client.EntryPoint;
    import com.google.gwt.user.client.ui.RootPanel;
    
    public class GwtPrototype implements EntryPoint {
    
        private Viewport v = new Viewport();
        private TreeStore<BaseModelData> ts;
        private TreePanel<BaseModelData> tp;
        
        public void onModuleLoad() {
            RootPanel.get().add(v);
            v.setHeight("100%");
            v.setLayout(new FitLayout());
            ts = new TreeStore<BaseModelData>();
    	tp = new TreePanel<BaseModelData>(ts);
    	tp.setCheckable(true);
    	tp.setDisplayProperty("name");
    	BaseTreeModel btm = new BaseTreeModel();
    	btm.set("name", "my name");
    	ts.add(btm, true);
    	tp.setChecked(btm, true);
    	v.add(tp);
    	v.layout();
        }
    }
    Works fine in hosted mode but throws an exception in firefox/IE.

    The firefox stack trace seems to point to:
    TreePanel.setChecked()(line 639)->
    TreePanelView.getCheckElement()(line 64)->
    TreePanelView.getElementContainer()(line 83)->
    node.getElement() returns null

  2. #2
    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


    Fixed in SVN

  3. #3
    Sencha Premium Member
    Join Date
    Oct 2008
    Posts
    79
    Vote Rating
    0
    Cputerace is on a distinguished road

      0  

    Default


    Thanks.

    I know it was said in the RC1 announcement that it is the last release before official 2.0, but will there be an RC2 to test all these fixes to RC1? IMHO RC2 would be very beneficial before full release.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi