7 Aug 2012 1:30 AM #1
Creates the templates of form
I need to create a template for form, i read many documentation but i not found how i can create templates for forms. Please give me a simple example.
7 Aug 2012 5:10 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
You don't need a template, you need to add items and use layouts if needed.Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
8 Aug 2012 1:25 AM #3
My task is next: get the html text and put between some tags input form elements. For example:
Name: <div id="name"></div>
Surname: <div id="surname"></div>
Name: <div id="name"><input type="Text" name="name" value=""/></div>
Surname: <div id="surname"><input type="Text" name="surname" value=""/></div>
the input elements as the native extjs objects
8 Aug 2012 2:51 AM #4
take a look at:
-> the source does not completely follow best practices, but should give you an idea how to work "the sencha way" to achieve your goal.
S-CIRCLES Social Network Engine