<%-- #RevizeProperties USE REVIZE MENU (DOCUMENT PROPERTIES) TO EDIT DATA BELOW: status=edit options= server=localhost:8080 projectName=calendar_app label= location=calendar_app/editpages/calendar_groups-editlist.jsp version= docType=editpage subType=list moduleName= fieldName= channels=| description= --%><%-- #BeginRZ-PageHeader --%><%@ page language="java" %><%@ include file="/util/setup_editlist_header.jsp" %><%-- #EndRZ-PageHeader --%> Calendar Group Administration <%-- ___________________________________________________________________________________ Page notes: ___________________________________________________________________________________ --%> <%@ include file="/util/setup_editlist_javascript.jsp" %> <%@ include file="/plugins/calendar/calendar3.head_version_include.jsp" %><%-- //-------------------------------------------------------------------------------\\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * DW use only (below tags NOT published); required files loaded during page setup * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * --%><% if (false) { %> <% } %><%-- \\-------------------------------------------------------------------------------// --%><% /**********************************/ /*BOOKMARK Page specific JSP Code*/ /********************************/ /************************************/ /*BOOKMARK Page specific JavaScript*/ /**********************************/ %><%-- @@no-source-format@@ /*************************************************/ /**/ .RZhidden class hides any tag in browser /**/ /**/ ...BUT shows in DW via !IMPORTANT below: /**/ /**/ --%><% if (false){ //prevent publish /**/ /**/ %><% }%><%-- /**/ /*************************************************/ @@no-source-format@@ --%> <%@ include file="/plugins/calendar/calendar3.head_version_include.jsp" %><%-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * DELETE standard javascript include file after the body tag (if shown above); it is included in the head section for edit pages and not used on templates. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * --%><% if (false){ %>
NOTE: class="RZhidden" displays with this background in DW; but... are hidden in browsers unless changed by javascript or other CSS.
<% } %>

    Calendar Group Administration    

<%-- #BeginRZ-ActionImage --%> <%-- Option:type=ForwardEditGlobalImage --%> <%-- Option:imageSrcURL=../../images/edit/edit-global.gif --%> <%-- #EndRZ-ActionImage --%>            <%=HELP_BUTTON%>
<%-- #BeginRZ-ActionImage --%> <%-- Option:type=EditListInsertImage --%> <%-- Option:imageSrcURL=../../images/edit/new.gif --%> <%-- #EndRZ-ActionImage --%> <% while ( rz.listnext() ){ %> <% }%>
Action Groups Administrators Editors

<%-- #BeginRZ-ActionImage --%> <%-- Option:type=EditListEditImage --%> <%-- Option:imageSrcURL=../../images/edit/edit_sm.gif --%> <%-- #EndRZ-ActionImage --%> <%-- #BeginRZ-ActionImage --%> <%-- Option:type=EditListDeleteImage --%> <%-- Option:forwardURL= --%> <%-- Option:imageSrcURL=../../images/edit/delete_sm.gif --%> <%-- #EndRZ-ActionImage --%> <%=rz.content%> <% out.println(addRoleUserOptions( rz.fetch("calendar_groups", "administrators")) ); %> <% out.println(addRoleUserOptions( rz.fetch("calendar_groups", "editors")) ); %>
<%! /*BOOKMARK String addRoleUserOptions( String inList )*/ String addRoleUserOptions( String inList ) { String toReturn = ""; int lenList = inList.length(); if ( (0 < lenList) && ( !("|".equals(inList)) ) ) { String item = ""; int indexPipe = -1; int i = 0; while (true) { indexPipe = inList.indexOf('|', i); if ( 0 < indexPipe ) { item = inList.substring(i, indexPipe); if( item.startsWith( "_" ) ) toReturn += ""; else toReturn += ""; i = indexPipe + 1; } else if ( i < lenList ) { item = inList.substring(i, lenList); if( item.startsWith( "_" ) ) toReturn += ""; else toReturn += ""; break; } } } toReturn += "
" + item.substring(1) + "
" + item + "
" + item.substring(1) + "
" + item + "
"; return toReturn; } %>