1. #1
    Ext User
    Join Date
    Oct 2007
    Posts
    1
    Vote Rating
    0
    brian.chance is on a distinguished road

      0  

    Default [2.0a1][CLOSED] BasicForm.render and applyTo

    [2.0a1][CLOSED] BasicForm.render and applyTo


    Posted on wrong forum, should have been 2.0 bugs

    The new render method of BasicForm looks like this:
    f.applyTo = f.id;
    f.render();

    Since the container is not passed in to render, Component.render tries to find it if this.el is defined, but this.el only gets set through Component.applyToMarkup if applyTo was passed as an option to the constructor.

    Instead of setting applyTo and calling render, should BasicForm.render call f.applyToMarkup(f.id)? or should Component.render check for this.applyTo?

    Brian

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,789
    Vote Rating
    597
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

  3. #3
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    You got it right, f.applyToMarkup(f.id); no call to render required. Thanks.
    Jack Slocum
    Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum
    jack@extjs.com

Thread Participants: 2

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..."