public static void encodeDropMenuStart ( DropMenu c , ResponseWriter rw , String l ) throws IOException { rw . startElement ( "ul" , c ) ; if ( c . getContentClass ( ) != null ) rw . writeAttribute ( "class" , "dropdown-menu " + c . getContentClass ( ) , "class" ) ; else rw . writeAttribute ( "class" , "dropdown-menu" , "class" ) ; if ( null != c . getContentStyle ( ) ) rw . writeAttribute ( "style" , c . getContentStyle ( ) , "style" ) ; rw . writeAttribute ( "role" , "menu" , null ) ; rw . writeAttribute ( "aria-labelledby" , l , null ) ; }
Renders the Drop Menu .