title: function used from within javascript dojo closure using "this"-notation is undefined
body: <p>I have a Problem accessing an Object function using "this".
  In case of the below example (which is simplified, because I cannot supply actual code due to various reasons) the function call this._getEntry() is "undefined" when calling
  createList().</p>
  
  <p>I would hope for some opinions on wether this is due to a misunderstanding of
  javascript closures or rather a syntax error.</p>
  
  <p>In the latter case I will have to find the error in the actual code myself.</p>
  
  <p>If it is a misunderstanding of javascript or dojo concepts I would really appreciate
  some help on how to correctly scope and access the below mentioned function (_getEntry()).</p>
  
  <pre><code>var OBJECT = {
    _getEntry : function(entry){
      var li = document.createElement('LI');
      li.appendChild(document.createTextNode(entry));
      return li;
    },
    createList : function(entryArray){
      var list = document.createElement('UL');
      dojo.forEach(entryArray,function(entry){
        list.appendChild(this._getEntry(entry));
      });
      dojo.body().appendChild(list);
    }
  };
  OBJECT.createList(["entry1","entry2"]);
  </code></pre>
  
  <p>thanks!</p>