SQL2
All nodes with a specific name
SELECT * FROM [nt:unstructured] AS node
WHERE ISDESCENDANTNODE(node, "/search/in/path")
AND NAME() = "nodeName"
All pages below content path
SQL2
All nodes with a specific name
SELECT * FROM [nt:unstructured] AS node
WHERE ISDESCENDANTNODE(node, "/search/in/path")
AND NAME() = "nodeName"
All pages below content path
<form method="post" action="/j_security_check"> | |
<p> | |
You're not logged in. Wouldn't you like to do so? | |
</p> | |
<p> | |
<label for="j_username">Username</label><br /> | |
<input id="j_username" name="j_username" type="text" /> | |
</p> | |
<p> | |
<label for="j_password">Password</label><br /> |
import org.apache.felix.scr.annotations.Component; | |
import org.apache.felix.scr.annotations.Properties; | |
import org.apache.felix.scr.annotations.Property; | |
import org.apache.felix.scr.annotations.Service; | |
import org.apache.sling.api.SlingConstants; | |
import org.apache.sling.event.EventUtil; | |
import org.apache.sling.event.jobs.JobProcessor; | |
import org.apache.sling.event.jobs.JobUtil; | |
import org.osgi.service.event.Event; | |
import org.osgi.service.event.EventConstants; |