title: How to set value for input 'textfield' with JavaScript
body: <p>i have a method in my <code>openDB.js</code> logic class:  </p>
  
  <pre><code>getUserByUsername: function(username) {
          return this.getUsers(username).then(function(users) {
              return users[ username ];
          });
      },
  </code></pre>
  
  <p>i'm getting there user with a lot of properties/values.
  i have a extjs input <code>'textfield'</code>, and i want to get in <code>'value'</code> of textfield some user information.
  i know that all follow parameters has values (it is codesnippet from <code>openDB.js</code> CreateUser function):</p>
  
  <pre><code>.addParameter("DEPARTMENT", user.department)
              .addParameter("FAX", user.fax)
              .addParameter("FIRSTNAME", user.firstName)
              .addParameter("FUNCTION", user["function"])
              .addParameter("LASTNAME", user.lastName)
              .addParameter("LOCATION", user.location)
              .addParameter("MAIL", user.mail)
              .addParameter("MOBILE", user.mobile)
              .addParameter("PASSWORD", user.password)
  </code></pre>
  
  <p>i know it because its possible to check it with setTitle like this:</p>
  
  <pre><code> openDB.getUserByUsername(user.username).then(function(userDetails)
          {
              debugger;
              me.setTitle("Welcome " + userDetails.department + "!");
          });
  </code></pre>
  
  <p>its works fine with all properties.
  <strong>but how to do it with 'textfield' value ????</strong></p>
  
  <pre><code> items: [{
                          xtype: "form",
                          bodyPadding: 5,
                          border: false,
                          defaults: {
                              xtype: "textfield",
                              inputType: "text",
                              anchor: "100%"
                          },
                          items: [{
                              fieldLabel: 'Firstname:',
                              id: 'firstName',
                              readOnly: true,
                              value: user.firstName,
                              name: "username"
                          }, {
                              fieldLabel: 'E-Mail:',
                              id: 'email',
                              value: 'user.email',
                              name: "email"
                          }, {
  </code></pre>