- if( request.getParameter("force") != null ){
- VitroRequestPrep.forceToSelfEditing(request);
- String netid = request.getParameter("netid");
- FakeSelfEditingIdentifierFactory.clearFakeIdInSession( session );
- FakeSelfEditingIdentifierFactory.putFakeIdInSession( netid , session );%>
-
-
-
-<% }
- if( request.getParameter("stopfaking") != null){
- VitroRequestPrep.forceOutOfSelfEditing(request);
- FakeSelfEditingIdentifierFactory.clearFakeIdInSession( session );
- }
- String netid = (String)session.getAttribute(FakeSelfEditingIdentifierFactory.FAKE_SELF_EDIT_NETID);
- String msg = "You have not configured a netid for testing self-editing. ";
- if( netid != null ) {
- msg = "You have are testing self-editing as '" + netid + "'.";%>
-
-
-
-<% } else {
- netid = "";
- }
-
-%>
-
-
-
-
Test Self-Edit
-
Configure Self-Edit Testing
-
<%=msg %>
-
" >
-
+
${msg}
+
" >
+
-
+
-
-
" >
+
" >
-
+
-
-
+