retrieving a url path in a jsf/primefaces backing bean
<p>Assuming a URL pattern like</p>

<pre><code>http://company.com/jsf-app-root/{groupName}/show.xhtml
</code></pre>

<p>and the actual URL</p>

<pre><code>http://company.com/jsf-app-root/accountant/show.xhtml
</code></pre>

<p>How do I get the value <code>accountant</code> in the backing bean?
I would be fine with either as managed parameter to the constructor or as member of the bean.</p>

<p>The only thing I found were query parameter solutions query parameter solutions: <a href="http://incepttechnologies.blogspot.de/p/view-parameters-in-jsf-20.html" rel="nofollow">a</a>, <a href="http://www.oracle.com/technetwork/articles/java/jsf22-1377252.html" rel="nofollow">b</a></p>

<p>Or some manual work</p>

<pre><code>FacesContext.getCurrentInstance().getExternalContext().getRequestPathInfo();
</code></pre>

<p>Is there really no support for url path parameter in jsf/primeface?</p>