Author: jkoster Date: 2010-02-18 11:27:57 +0100 (Thu, 18 Feb 2010) New Revision: 41127
Added: CMSContainer/branches/b1_7/CMSContainer/cmsc/maintenance/src/webapp/editors/maintenance/fix_posrel.jsp Log: CMSC-1582 - Add another script for fixing empty or nulled posrels. Added: CMSContainer/branches/b1_7/CMSContainer/cmsc/maintenance/src/webapp/editors/maintenance/fix_posrel.jsp =================================================================== --- CMSContainer/branches/b1_7/CMSContainer/cmsc/maintenance/src/webapp/editors/maintenance/fix_posrel.jsp (rev 0) +++ CMSContainer/branches/b1_7/CMSContainer/cmsc/maintenance/src/webapp/editors/maintenance/fix_posrel.jsp 2010-02-18 10:27:57 UTC (rev 41127) @@ -0,0 +1,26 @@ +<%...@page import="org.mmbase.bridge.*,org.mmbase.util.logging.*"%> +<%...@page import="java.util.*"%> +<%...@include file="globals.jsp"%> +<html xmlns="http://www.w3.org/TR/xhtml"> +<head> + <title>Fix posrels which are null</title> + <link href="<cmsc:staticurl page='/editors/css/main.css'/>" type="text/css" rel="stylesheet" /> +</head> +<body> + <div class="editor"> + <div class="body"> + <h2>Fix posrels which are null</h2> + <mm:cloud rank="administrator"> + <mm:listnodes type="posrel" constraints="pos is null"> + <mm:first>Number of nodes: <mm:size /> + <hr /> + </mm:first> + <mm:setfield name="pos">1</mm:setfield> + </mm:listnodes> + </mm:cloud> + <br/> + Done!<br/> + </div> + </div> +</body> +</html> \ No newline at end of file _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs