public String groupHtml(CmsWorkplace wp) {

        StringBuffer html = new StringBuffer(2048);
        Iterator<CmsAdminMenuGroup> itHtml = m_groupContainer.elementList().iterator();
        while (itHtml.hasNext()) {
            CmsAdminMenuGroup group = itHtml.next();
            html.append(group.groupHtml(wp));
        }
        return html.toString();
    }
public String groupHtml ( CmsWorkplace wp ) { StringBuffer html = new StringBuffer ( 2048 ) ; Iterator < CmsAdminMenuGroup > itHtml = m_groupContainer . elementList ( ) . iterator ( ) ; while ( itHtml . hasNext ( ) ) { CmsAdminMenuGroup group = itHtml . next ( ) ; html . append ( group . groupHtml ( wp ) ) ; } return html . toString ( ) ; }
Generates the necesary html code for the groups.<p>

@param wp the page for which the code is generated

@return html code