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