Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jan 2008
    Location
    Toronto, Canada
    Posts
    480
    Vote Rating
    4
    elishnevsky is on a distinguished road

      0  

    Default [FIXED-176] Incorrect rendering of Panel. Missing angle bracket in template.

    [FIXED-176] Incorrect rendering of Panel. Missing angle bracket in template.


    Hi,

    There is an angle bracket missing in the template in Panel.js line 67 right after </tpl>. It results in an incorrect rendering. Sencha Touch version 0.91. Here is what it should be:

    Code:
    renderTpl: new Ext.XTemplate(
        '<div <tpl if="id">id="{id}"</tpl> class="{baseCls} {cls} {cmpCls}<tpl if="ui"> {uiBase}-{ui}</tpl>" <tpl if="style"> style="{style}"</tpl>>',
            '<div class="{baseCls}-body"<tpl if="bodyStyle"> style="{bodyStyle}"</tpl>></div>',
        '</div>',
        {compiled: true}
    ),
    Thanks.

  2. #2
    Sencha User
    Join Date
    Dec 2007
    Posts
    38
    Vote Rating
    0
    PTG is on a distinguished road

      0  

    Default


    There is the same problem with the Ext.form.FormPanel.

  3. #3
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,920
    Vote Rating
    632
    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  

    Default


    Thanks, both of these are corrected.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  4. #4
    Sencha User
    Join Date
    Dec 2007
    Posts
    38
    Vote Rating
    0
    PTG is on a distinguished road

      0  

    Default


    It's not fixed in v0.92.
    In fact it's even worse than before, you removed another ">".

  5. #5
    Sencha User
    Join Date
    Jan 2008
    Location
    Toronto, Canada
    Posts
    480
    Vote Rating
    4
    elishnevsky is on a distinguished road

      0  

    Default


    I don't see where another ">" was removed from, but I don't see the fix either. That's too bad

  6. #6
    Sencha User
    Join Date
    Dec 2007
    Posts
    38
    Vote Rating
    0
    PTG is on a distinguished road

      0  

    Default


    A ">" was removed at the end of the first line of the template.

    I didn't want to post the code again, it's confusing enough, and your first post still has the proper fix.

  7. #7
    Sencha User
    Join Date
    Jan 2008
    Location
    Toronto, Canada
    Posts
    480
    Vote Rating
    4
    elishnevsky is on a distinguished road

      0  

    Default


    Yep, you're right.

  8. #8
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    The renderTpl has been updated and fixed for sure the time. Thanks for staying on it.

Similar Threads

  1. [OPEN] [FIXED-176] Anchor property is lost when loading a 1.0.1.x-project
    By medusadelft in forum Ext Designer: Bugs
    Replies: 9
    Last Post: 23 Jul 2010, 5:25 AM
  2. Replies: 7
    Last Post: 3 Mar 2010, 11:22 AM
  3. Replies: 2
    Last Post: 9 Oct 2009, 1:12 AM
  4. [FIXED-176][3.0.1] Ext.ux.Spinner.js broken ?
    By belgattitude in forum Ext 3.x: Bugs
    Replies: 1
    Last Post: 24 Aug 2009, 10:47 PM
  5. Missing and/or Incorrect Docs - Ext 1.1.x
    By mystix in forum Ext 1.x: Bugs
    Replies: 108
    Last Post: 10 Apr 2008, 5:47 AM

Thread Participants: 3