Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Test application Cars: flyout config - edit template

  1. #1
    Sencha User samoas's Avatar
    Join Date
    Apr 2010
    Location
    Italy
    Posts
    6
    Vote Rating
    0
      0  

    Default Test application Cars: flyout config - edit template

    hi guys, first of all sorry for my english...
    i'm trying to re-create example project "cars" with architect 2.0 but i have a problem when the guide says:

    "Configure the display template for the detail (middle) Panel. Select it in the Canvas, click its Flyout Config button, and click Edit Template. The body of the component becomes an editable text area. Enter the following HTML markup for the template:
    <img src="data/{img}" style="float: right" /> Manufacturer: {manufacturer}<br> Model: <a href="{wiki}" target="_blank">{model}</a><br> Price: {price:usMoney}<br>
    "
    i'm sticky 'cause there's no more "Edit template" button in the Flyout Config.

    how can i insert the html in the template?

    thanks!

    Samuele

  2. #2
    Sencha User
    Join Date
    Aug 2011
    Posts
    206
    Vote Rating
    8
      0  

    Default

    You are definitely using a panel? No reason why should not be there...

  3. #3
    Sencha User samoas's Avatar
    Join Date
    Apr 2010
    Location
    Italy
    Posts
    6
    Vote Rating
    0
      0  

    Default

    yes. i'm definitely using a panel. i'm following the guide...

  4. #4
    Sencha User
    Join Date
    Aug 2011
    Posts
    206
    Vote Rating
    8
      0  

    Default

    Strange.... Panels have Edit Template right at the top of the flyout

  5. #5
    Sencha User
    Join Date
    Aug 2011
    Posts
    206
    Vote Rating
    8
      0  

    Default

    Sure you're not using a container rather than a panel?

  6. #6
    Sencha User samoas's Avatar
    Join Date
    Apr 2010
    Location
    Italy
    Posts
    6
    Vote Rating
    0
      0  

    Default

    now i'm not at the pc with the app. but later i will check again and let you know. thanks in advance!

  7. #7
    Sencha User samoas's Avatar
    Join Date
    Apr 2010
    Location
    Italy
    Posts
    6
    Vote Rating
    0
      0  

    Default

    i've just checked. it's definitely a panel. Ext.panel.panel. but there's no "edit template" button...

  8. #8
    Sencha User
    Join Date
    Aug 2011
    Posts
    206
    Vote Rating
    8
      0  

    Default

    And if you add a fresh panel component? Do you still have no template on the fly out?

  9. #9
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,487
    Vote Rating
    146
      0  

    Default

    Did you put another item inside of it? Once a component has items within it, template no longer become a possible configuration.
    Aaron Conran
    @aconran

  10. #10
    Sencha User
    Join Date
    Mar 2013
    Posts
    1
    Vote Rating
    0
      0  

    Default

    I am a new user to Sencha ,I am trying to do a replica of Car store tutorial, but stick on to the same problem... using SA 2.1.0, build 678, any one help .. pls, is there any other way to do Edit template apart from on fly setting button ?

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •