 <p>You can find the solution from the <a href="https://github.com/liferay/liferay-faces/tree/3.1.x/demos/bridge/jsf2-export-pdf-portlet" rel="nofollow">jsf2-export-pdf-portlet</a> created by Neil Griffin. It shows you how to develop Jsf Resource and ResourceHandler. It gives you information about how the bridge uses <code>Resource_Phase</code> for generating Url.</p>