public void setOnSelect ( String onselect ) { AbstractHtmlState tsh = getState ( ) ; tsh . registerAttribute ( AbstractHtmlState . ATTR_JAVASCRIPT , ONSELECT , onselect ) ; }
Sets the onSelect javascript event .