-
15 Jun 2012 2:48 AM #1
Test application Cars: flyout config - edit template
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
-
15 Jun 2012 4:31 AM #2
You are definitely using a panel? No reason why should not be there...
-
15 Jun 2012 4:32 AM #3
yes. i'm definitely using a panel. i'm following the guide...
-
15 Jun 2012 4:35 AM #4
Strange.... Panels have Edit Template right at the top of the flyout
-
15 Jun 2012 4:36 AM #5
Sure you're not using a container rather than a panel?
-
15 Jun 2012 4:38 AM #6
now i'm not at the pc with the app. but later i will check again and let you know. thanks in advance!
-
15 Jun 2012 8:19 AM #7
i've just checked. it's definitely a panel. Ext.panel.panel. but there's no "edit template" button...
-
15 Jun 2012 8:39 AM #8
And if you add a fresh panel component? Do you still have no template on the fly out?
-
15 Jun 2012 8:57 AM #9
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
Sencha Architect Development Team
-
6 Mar 2013 8:49 AM #10
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 ?


Reply With Quote