I am looking at the simple example in sling in 15 minutes. 

Where I have a resource of sling:resourceType="mjb/order"

That suggest to me I should have a node at the following path

apps/mjb/order/html.esp

which should render that set of nodes into html. 


However, when I try I get this message:

ResourceNotFoundException: No resource found (/apps/mjb/order/html.esp#4) (500)


I'm not sure where the #4 is coming from? 

If I hit the URL as html.esp.xml I get this:

<html.esp jcr:primaryType="nt:file" jcr:created="2010-06-22T21:29:21.330-04:00" 
jcr:createdBy="admin">
<jcr:content jcr:primaryType="nt:resource" 
jcr:uuid="1bdb9275-82d7-4993-b2d6-94a5e92bbdeb" 
jcr:data="PGh0bWw+ICAgCgk8Ym9keT4gICAgIAoJCTxkaXYgaWQ9ImhlYWRlciI+ICAgICAgIAoJCQk8JSBzbGluZy5pbmNsdWRlKCIvY29udGVudC9oZWFkZXIiKTsgJT4gICAgIAoJCTwvZGl2PiAgICAKCQk8aDE+PCU9IGN1cnJlbnROb2RlLnRpdGxlICU+PC9oMT4gICAKCTwvYm9keT4gCjwvaHRtbD4="
 jcr:lastModified="2010-06-22T21:29:21.455-04:00" jcr:lastModifiedBy="admin" 
jcr:mimeType="application/octet-stream"/>
</html.esp>


Any clue what's going on?

Tony Giaccone

Reply via email to