title: Given a Path get a reference to the Resource in Sightly
body: <p>The component dialog has a pathfield widget where the authors can set a page path. In the Sightly component, I would like to look up that page resource and get (and display) properties from it.</p>
  
  <p>The dialog...</p>
  
  <pre><code>&lt;linkedPathLocation jcr:primaryType="cq:Widget"
                fieldLabel="Linked Path"
                name="./linkedPathLocation"
                xtype="pathfield"
                fieldDescription="Select a page. URL, Title, Description and Image are properties of the selected page"/&gt;   
  </code></pre>
  
  <p>The component code I would like to work (it's not). </p>
  
  <pre><code>  &lt;div class="row" data-sly-resource.page = "${properties.linkedPathLocation}"&gt;
      &lt;h1 &gt;${page.title}&lt;/h1&gt;
      &lt;p&gt;${page.description}&lt;/p&gt;
    &lt;/div&gt;
  </code></pre>
  
  <p>My question: Is there a way in Sightly to resolve and use some resource from a given path?  If not, I could create a USE-API class and to do the following...</p>
  
  <pre><code>Page page = resourceResolver.resolve("/path/to/resource").adaptTo(Page.class); 
  </code></pre>