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

<jsp:useBean id="groupList" class="java.util.List" scope="request"/>
<jsp:useBean id="groupDescs" class="java.util.List" scope="request"/>

<ui:form>
<ui:panel>

    <ui:frame>
        <ui:tablerow header="true">
            <ui:tablecell>
                <ui:text key="GROUP_NAME"/>
            </ui:tablecell>
            <ui:tablecell>
                <ui:text key="GROUP_ACCESS"/>
            </ui:tablecell>
            <ui:tablecell>
                <ui:text key="GROUP_DESCRIPTION"/>
            </ui:tablecell>
        </ui:tablerow>

<%
                Iterator groupIterator = groupList.iterator();
                Iterator descsIterator = groupDescs.iterator();
                int i = 0;
                while ((groupIterator.hasNext() && descsIterator.hasNext())) {
                    // Get next user
                    PortletGroup group = (PortletGroup)groupIterator.next();
                    String desc = (String)descsIterator.next();
                    //String groupRB = "groupsRB" + i;
%>
                <ui:tablerow>
                        <ui:tablecell>
                            <ui:actionlink action="doViewViewGroup" value="<%=group.getName() %>">
                                <ui:actionparam name="groupID" value="<%= group.getID() %>"/>
                            </ui:actionlink>
                        </ui:tablecell>
                        <ui:tablecell>
                        <% if (group.isPublic()) { %>
                        <ui:radiobutton selected="true" name="<%= group.getName() %>" value="PUBLIC"/>
                        <ui:text value="PUBLIC"/>
                        <ui:radiobutton  name="<%= group.getName() %>" value="PRIVATE"/>
                        <ui:text value="PRIVATE"/>
                        <% } else { %>
                        <ui:radiobutton name="<%= group.getName() %>" value="PUBLIC"/>
                        <ui:text value="PUBLIC"/>
                        <ui:radiobutton selected="true" name="<%= group.getName() %>" value="PRIVATE"/>
                        <ui:text value="PRIVATE"/>
                        <% } %>
                        </ui:tablecell>
                        <ui:tablecell>
                            <ui:text value="<%= desc %>"/>
                        </ui:tablecell>
                </ui:tablerow>

<%             i++; } %>
    </ui:frame>

    <ui:frame>
        <ui:tablerow>
            <ui:tablecell>
                <ui:actionsubmit action="saveGroups" key="APPLY"/>
            </ui:tablecell>
        </ui:tablerow>
    </ui:frame>
</ui:panel>
</ui:form>
<commit_msg>*** empty log message ***<commit_after><%@ page import="java.util.Iterator,
                 org.gridlab.gridsphere.portlet.PortletGroup,
                 org.gridlab.gridsphere.portlet.impl.SportletGroup"%>
<%@ taglib uri="/portletUI" prefix="ui" %>
<%@ taglib uri="/portletAPI" prefix="portletAPI" %>
<portletAPI:init/>

<jsp:useBean id="groupList" class="java.util.List" scope="request"/>
<jsp:useBean id="groupDescs" class="java.util.List" scope="request"/>

<ui:form>
<ui:panel>

    <ui:frame>
        <ui:tablerow>
            <ui:tablecell>
                <ui:actionsubmit action="doCreateNewGroup" value="Create new group"/>
            </ui:tablecell>
        </ui:tablerow>
    </ui:frame>

    <ui:frame>
        <ui:tablerow header="true">
            <ui:tablecell>
                <ui:text key="GROUP_NAME"/>
            </ui:tablecell>
            <ui:tablecell>
                <ui:text key="GROUP_ACCESS"/>
            </ui:tablecell>
            <ui:tablecell>
                <ui:text key="GROUP_DESCRIPTION"/>
            </ui:tablecell>
            <ui:tablecell>
                <ui:text key="GROUP_DELETE"/>
            </ui:tablecell>
        </ui:tablerow>

<%
                Iterator groupIterator = groupList.iterator();
                Iterator descsIterator = groupDescs.iterator();
                int i = 0;
                while ((groupIterator.hasNext() && descsIterator.hasNext())) {
                    // Get next user
                    PortletGroup group = (PortletGroup)groupIterator.next();
                    String desc = (String)descsIterator.next();
                    //String groupRB = "groupsRB" + i;
%>
                <ui:tablerow>
                        <ui:tablecell>
                            <ui:actionlink action="doViewViewGroup" value="<%=group.getName() %>">
                                <ui:actionparam name="groupID" value="<%= group.getID() %>"/>
                            </ui:actionlink>
                        </ui:tablecell>
                        <ui:tablecell>
                        <% if (group.isPublic()) { %>
                        <ui:radiobutton selected="true" name="<%= group.getName() %>" value="PUBLIC"/>
                        <ui:text value="PUBLIC"/>
                        <ui:radiobutton  name="<%= group.getName() %>" value="PRIVATE"/>
                        <ui:text value="PRIVATE"/>
                        <% } else { %>
                        <ui:radiobutton name="<%= group.getName() %>" value="PUBLIC"/>
                        <ui:text value="PUBLIC"/>
                        <ui:radiobutton selected="true" name="<%= group.getName() %>" value="PRIVATE"/>
                        <ui:text value="PRIVATE"/>
                        <% } %>
                        </ui:tablecell>
                        <ui:tablecell>
                            <ui:text value="<%= desc %>"/>
                        </ui:tablecell>
                        <ui:tablecell>
                        <% if (!group.getName().equals(SportletGroup.CORE.getName())) { %>
                            <ui:checkbox beanId="<%= group.getName() %>" value="yes"/>
                        <% } %>
                        </ui:tablecell>
                </ui:tablerow>

<%             i++; } %>
    </ui:frame>

    <ui:frame>
        <ui:tablerow>
            <ui:tablecell>
                <ui:actionsubmit action="saveGroups" key="APPLY"/>
            </ui:tablecell>
        </ui:tablerow>
    </ui:frame>
</ui:panel>
</ui:form>

{'fraction_non_alphanumeric': 0.15720592872910755, 'fraction_numerical': 0.000315357931251971, 'mean_word_length': 1.4136225266362252, 'pattern_counts': {'":': 0, '<': 143, '<?xml version=': 0, '>': 143, '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': '4146901', 'n_tokens_mistral': 1860, 'n_tokens_neox': 1732, 'n_words': 274}