code: public void setOnClick(String onclick)
      {
          AbstractHtmlState tsh = getState();
          tsh.registerAttribute(AbstractHtmlState.ATTR_JAVASCRIPT, ONCLICK, onclick);
      }
docs: Sets the onClick javascript event.
  @param onclick the onClick event.
  @jsptagref.attributedescription The onClick JavaScript event.
  @jsptagref.databindable false
  @jsptagref.attributesyntaxvalue <i>string_onClick</i>
  @netui:attribute required="false" rtexprvalue="true"
  description="The onClick JavaScript event."