initial-content.apps.rested.components.properties.edit.jsp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.liveSense.jcr.restexplorer Show documentation
Show all versions of org.liveSense.jcr.restexplorer Show documentation
liveSense JCR REST Content explorer. This based on https://github.com/onflapp/RESTed
The newest version!
<%--
/************************************************************************
** $Date: $
** $Source: $
** $Author: $
** $Revision: $
************************************************************************/
--%><%
%><%@page session="false" contentType="text/html; charset=utf-8" %><%
%><%@page import="java.io.*,
java.net.*,
javax.jcr.*,
org.apache.sling.api.resource.*,
utils.*"
%><%
%><%@ taglib prefix="sling" uri="http://sling.apache.org/taglibs/sling/1.0" %><%
%> <%
PropertyIterator properties = null;
String requestPath = slingRequest.getRequestPathInfo().getResourcePath();
String content = requestPath;
if (resource instanceof NonExistingResource) {
content = requestPath.substring (0, requestPath.indexOf ('.'));
}
else {
properties = currentNode.getProperties();
}
%>
<%
String error = request.getParameter("error");
if (error != null) {
%>
<%
}
%>