title: ZendX Jquery Decorator
body: <p>How use partial decorator in Jquery Element</p>
  
  <p>I use this code for Form Element:</p>
  
  <pre><code>    $title = new Zend_Form_Element_Text('title');
      $title-&gt;setRequired(true)
              -&gt;setAttrib('class', 'inputbox')
              -&gt;setLabel('Title');
      $title-&gt;viewScript = 'RegElement.phtml';
      $title-&gt;setDecorators(
              array(
                  array('ViewScript', array('class' =&gt; 'RegElement'))
              )
      );
  </code></pre>
  
  <p>But when i use Jquery Element i dont know how implement it:</p>
  
  <pre><code>    $datePicker = new ZendX_JQuery_Form_Element_DatePicker(
                      "datePicker1", array("label" =&gt; "Date:")
      );
      $datePicker-&gt;viewScript = 'RegElement.phtml';
      $datePicker-&gt;setDecorators(
              array(
                  array('ViewScript', array('class' =&gt; 'RegElement'))
              )
      );
  
      //views/scripts/RegElement.phtml
      &lt;li class="row &lt;?php echo $this-&gt;class ?&gt;"&gt;
          &lt;div class="cont-error"&gt;
           &lt;?php echo $this-&gt;formErrors($this-&gt;element-&gt;getMessages()); ?&gt;
          &lt;/div&gt;
          &lt;div class="rowfields"&gt;
             &lt;?php echo $this-&gt;formLabel($this-&gt;element-&gt;getName(),
                        $this-&gt;element-&gt;getLabel()) ?&gt;
          &lt;?php
              echo $this-&gt;{$this-&gt;element-&gt;helper}(
                   $this-&gt;element-&gt;getName(),
                   $this-&gt;element-&gt;getValue(),
                   $this-&gt;element-&gt;getAttribs()
               )
           ?&gt;
          &lt;/div&gt;
          &lt;div class="hint"&gt;&lt;?php echo $this-&gt;element-&gt;getDescription() ?&gt;&lt;/div&gt;
      &lt;/li&gt;
  </code></pre>
  
  <p>And display this error:</p>
  
  <pre><code>Warning: Exception caught by form: Cannot render jQuery form element without at least one decorator implementing the 'ZendX_JQuery_Form_Decorator_UiWidgetElementMarker' interface.
  </code></pre>
  
  <p>I need display datePicker with same format. but I dont know how implement this interface.
  thanks for your help.</p>