Am 2009-09-07 17:36, schrieb Eric Norman:
Try this:

<%
    var isValid = true; //TODO: your condition here
    if (!isValid) {
        //TODO: handle invalid condition here
    } else {
       //condition is valid, so forward to the default post servlet to do the
work.
       sling.forward(resource.path, "sling/servlet/default");
    }
%>

will that also let me do revisions without replicating the defaultservlet? like this:

checkout();
forward();
checkin();

BTW: I did board the sling ship because of the advertisings at the pier. Though the vessel is large and hallways sparely labelled, so far I am happy.

--
peter

Reply via email to