<commit_before><%@ page import="java.util.Iterator,
                 org.gridlab.gridsphere.portlet.PortletGroup"%>
<%@ taglib uri="/portletUI" prefix="ui" %>
<%@ taglib uri="/portletAPI" prefix="portletAPI" %>
<portletAPI:init/>


<h2><ui:text key="GROUP_WIZARD_1"/></h2>
<ui:form>

<ui:group>

<% PortletGroup.Type gtype = (PortletGroup.Type)request.getAttribute("groupType"); %>
<% if (gtype == null) gtype = PortletGroup.PUBLIC; %>

<ui:messagebox beanId="msg"/>
<p>
<ui:hiddenfield beanId="groupId"/>
</p>
<h3><ui:text key="GROUP_INFO" style="nostyle"/></h3>
<p>
<ui:text key="GROUP_CREATE_NAME"/>&nbsp;&nbsp;<ui:textfield beanId="groupNameTF"/>
<ui:text key="GROUP_DESC_MSG"/>&nbsp;&nbsp;<ui:textfield beanId="groupDescTF"/>
</p>

<h3><ui:text key="GROUP_VISIBILITY_MSG" style="nostyle"/></h3>

<p>
<ui:text key="GROUP_VISIBILITY_DESC"/>
<ui:text key="GROUP_VISIBILITY_MOREDESC"/>

<ui:radiobutton beanId="groupVisibility" value="PUBLIC" selected="<%= (gtype.equals(PortletGroup.PUBLIC)) ? true : false %>"/>
    <ui:text key="GROUP_PUBLIC"/>
    <ui:radiobutton beanId="groupVisibility" value="PRIVATE" selected="<%= (gtype.equals(PortletGroup.PRIVATE)) ? true : false %>"/>
    <ui:text key="GROUP_PRIVATE"/>
    <ui:radiobutton beanId="groupVisibility" value="HIDDEN" selected="<%= (gtype.equals(PortletGroup.HIDDEN)) ? true : false %>"/>
    <ui:text key="GROUP_HIDDEN"/>
</p>
<h3><ui:text key="GROUP_SELECT_PORTLETS" style="nostyle"/></h3>

<p>
<ui:text key="GROUP_SELECT_MSG"/>
<ui:panel beanId="panel"/>
<ui:actionsubmit action="doMakeGroup" key="SAVE"/><commit_msg>*** empty log message ***<commit_after><%@ page import="java.util.Iterator,
                 org.gridlab.gridsphere.portlet.PortletGroup"%>
<%@ taglib uri="/portletUI" prefix="ui" %>
<%@ taglib uri="/portletAPI" prefix="portletAPI" %>
<portletAPI:init/>


<h2><ui:text key="GROUP_WIZARD_1"/></h2>
<ui:form>

<ui:group>

<% PortletGroup.Type gtype = (PortletGroup.Type)request.getAttribute("groupType"); %>
<% if (gtype == null) gtype = PortletGroup.PUBLIC; %>

<ui:messagebox beanId="msg"/>
<p>
<ui:hiddenfield beanId="groupId"/>
</p>
<h3><ui:text key="GROUP_INFO" style="nostyle"/></h3>
<p>
<ui:text key="GROUP_CREATE_NAME"/>&nbsp;&nbsp;<ui:textfield beanId="groupNameTF"/>
<ui:text key="GROUP_DESC_MSG"/>&nbsp;&nbsp;<ui:textfield beanId="groupDescTF"/>
</p>

<h3><ui:text key="GROUP_VISIBILITY_MSG" style="nostyle"/></h3>

<p>
<ui:text key="GROUP_VISIBILITY_DESC"/>
<ui:text key="GROUP_VISIBILITY_MOREDESC"/>
</p>
<p>
<ui:radiobutton beanId="groupVisibility" value="PUBLIC" selected="<%= (gtype.equals(PortletGroup.PUBLIC)) ? true : false %>"/>
    <ui:text key="GROUP_PUBLIC"/>
    <ui:radiobutton beanId="groupVisibility" value="PRIVATE" selected="<%= (gtype.equals(PortletGroup.PRIVATE)) ? true : false %>"/>
    <ui:text key="GROUP_PRIVATE"/>
    <ui:radiobutton beanId="groupVisibility" value="HIDDEN" selected="<%= (gtype.equals(PortletGroup.HIDDEN)) ? true : false %>"/>
    <ui:text key="GROUP_HIDDEN"/>
</p>
<h3><ui:text key="GROUP_SELECT_PORTLETS" style="nostyle"/></h3>

<p>
<ui:text key="GROUP_SELECT_MSG"/>
<ui:panel beanId="panel"/>
<ui:actionsubmit action="doMakeGroup" key="SAVE"/>
{'fraction_non_alphanumeric': 0.21680302076777846, 'fraction_numerical': 0.005663939584644431, 'mean_word_length': 6.849382716049383, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 0, '>': 99, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4818335', 'n_tokens_mistral': 1252, 'n_tokens_neox': 1201, 'n_words': 179}