- 

Available since OmniFaces 2.0

The <o:resolveComponent> component is a utility component via which a component can be looked up by its ID and a reference to it put in either the "facelet scope" (default) or the request scope.

Demo

Text directly via component: This is output text

Text via component reference: This is output text

Demo source code
<p>
    Text directly via component:
    <h:outputText id="myText" value="This is output text" />
</p>

<o:resolveComponent name="outputRef" for="myText" />

<p>
    Text via component reference: #{outputRef.value}
</p>