<%-- #RevizeProperties USE REVIZE MENU (DOCUMENT PROPERTIES) TO EDIT DATA BELOW: status=new options= server=localhost:8080 projectName=jamesisland label= location=Revize/www/revize/PLUGINS/notify/notify.jsp version= docType=editpage subType=list moduleName= fieldName= channels=| description= --%><%@ include file="/util/setup_editlist_header.jsp"%><%@ include file="/security/isAuthenticated.jsp" %> Manage Email Subscriptions <%@ include file="/util/setup_editlist_javascript.jsp" %><%@ include file="notify_head_include.jsp" %><% /************************************/ /*BOOKMARK Page Specific Javascript*/ /**********************************/ %>

Manage Email Notification of Page Changes

Processing Notify Subscription Request . . .

Processing Notify Subscription Changes . . .

<% /******************************/ /*BOOKMARK Page specific jsp */ /****************************/ out.flush(); //displays loading div ASAP -- but hoses up exception redirect // Defer building list of pages if returnurl specifed (email link) // Wait until the returnurl (called by setup) loads this page from iframe. if (!rtn.fieldvalues.is("returnurl")) try { // Update selected subscriptions or send email for confirmaion if (" save confirm ".indexOf(mode) > 0) notify.updateSubscriptions(rtn.message); // get list of current subscriptions or those selected for this email else notify.getAllPages(rtn.message); } catch (Exception e) { rtn.message = "Difficulty accessing notify subscriptions - Contact Technical Support"; } %>
Email Address:
Loading . . .

Sign In to select pages

Check pages below to recieve email when changed

<% /*******************************/ /*BOOKMARK ----- for all pages*/ /*****************************/ String type_desc = ""; for (int i=0; i 0 ? desc : title String className = !notify.pageRecord.pending.equals("") && !notify.pageRecord.pending.equals(notify.pageRecord.subscribe) ? (notify.pageRecord.pending.equals(NotifyMe.SUBSCRIBE) ? "notifyBG true" : "cancelBG false") : (notify.pageRecord.subscribe.equals(NotifyMe.SUBSCRIBE) ? "defaultBG true" : "defaultBG false"); if (mode.equals("confirm") && rtn.updatedPages.contains(notify.pageRecord.mapKey)) className = (notify.pageRecord.subscribe.equals(NotifyMe.SUBSCRIBE) ? "commitBG true" : "commitBG false"); //----- if new category if (!type_desc.equals(notify.pageRecord.type_desc)) { type_desc = notify.pageRecord.type_desc; %> <% } %> <% } // end for all pages%>
Check / Uncheck All
subscribe [pending] mapKey
M-R-T
<%=type_desc%>
<%=title%> <% if (!desc.equals("")) out.println("
" + desc); %>
<%=StringUtils.sub(notify.pageRecord.subscribe,0,1)%> <%=StringUtils.sub(notify.pageRecord.pending,0,1)%> <%=mapKey%>

<% if (isValidated) { %> <% } %>
mode key:   Parent Page Server
selected
revize-debug level:   notify.jsp Show Debug Output on Console
 
css
 return url
from
subject
start html

You have requested to get email if any of these pages change:

@@urls@@
stop html

You have requested to STOP getting notified if any of these pages change:

@@urls@@
confirm html

To confirm and complete these changes: @@confirm@@.

To change or review all email notify subscriptions, @@review@@.

cancel html

Email Notification for the following web pages was CANCELED:

@@urls@@

No action is necessary if the above notification are correct.

Otherwise @@review@@ to make changes.

<%@ include file="notify_footer_include.jsp" %><% // retains url parameters w/o matching fields when standalone reloaded as iframe // retain objects such as pageList which can not be posted //request.getSession().setAttribute("RevizeNotifyMeReturn",rtn); %>