d><code>context</code> - the Faces context.</dd>
<dd><code>viewId</code> - the view id.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the viewroot.</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="calculateLocale(jakarta.faces.context.FacesContext)">calculateLocale</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html?is-external=tru