title: createMenuBar Parameter Handler
body: <p>What steps will reproduce the problem?</p>
  
  <ol>
  <li>Create a MenuBar object (createMenuBar)</li>
  <li>Create a Server Handler point to menuHandler function (createServerHandler)</li>
  <li>Add an item to MenuBar object with the parameters: Name and Handler object;</li>
  </ol>
  
  <p>What is the expected output? What do you see instead?
  At the handler function is expected that the parameter return the name of source object that was clicked. Now I see a null value.</p>
  
  <p>On which browser &amp; OS?
  Chrome 19.0.1084.56 m
  Windows 7 SP1 x64</p>
  
  <p>Please provide any additional information below.</p>
  
  <pre><code>function buildMenu() {
      var app = UiApp.createApplication();
  
      var myRootMenu = app.createMenuBar(false);
      var txtTest = app.createTextBox().setText("test").setId("txtTest");
      var myHandler = app.createServerHandler("menuHandler").addCallbackElement(txtTest);
  
      myRootMenu.addItem("File", myHandler );
  
      app.add(myRootMenu);
  
      return app;
  
  }
  
  function menuHandler(e) {
      Logger.log(e);
  }
  </code></pre>
  
  <hr>
  
  <p>The logging output is:
  {parameter=null}</p>