Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>JRebel handles /WebContent folder changes.</p> <p>The problem is that Facelets do caching and do not reread changed files. To force reread specify the following parameters in <code>web.xml</code>.</p> <p><strong>JSF 2</strong> (Facelets 2.x):</p> <pre class="lang-xml prettyprint-override"><code>&lt;!-- Time in seconds that facelets should be checked for changes since last request. A value of -1 disables refresh checking. --&gt; &lt;context-param&gt; &lt;param-name&gt;javax.faces.FACELETS_REFRESH_PERIOD&lt;/param-name&gt; &lt;param-value&gt;0&lt;/param-value&gt; &lt;/context-param&gt; &lt;!-- Set the project stage to "Development", "UnitTest", "SystemTest", or "Production". --&gt; &lt;!-- An optional parameter that makes troubleshooting errors much easier. --&gt; &lt;!-- You should remove this context parameter before deploying to production! --&gt; &lt;context-param&gt; &lt;param-name&gt;javax.faces.PROJECT_STAGE&lt;/param-name&gt; &lt;param-value&gt;Development&lt;/param-value&gt; &lt;/context-param&gt; </code></pre> <hr> <p>For <strong>JSF 1.2</strong> (Facelets 1.x) parameters are:</p> <pre class="lang-xml prettyprint-override"><code>&lt;context-param&gt; &lt;param-name&gt;facelets.REFRESH_PERIOD&lt;/param-name&gt; &lt;param-value&gt;0&lt;/param-value&gt; &lt;/context-param&gt; &lt;context-param&gt; &lt;param-name&gt;facelets.DEVELOPMENT&lt;/param-name&gt; &lt;param-value&gt;true&lt;/param-value&gt; &lt;/context-param&gt; </code></pre> <p>More on JSF context params: <a href="http://docs.jboss.org/jbossas/6/JSF_Guide/en-US/html/jsf.reference.html#standard.config.params" rel="noreferrer">http://docs.jboss.org/jbossas/6/JSF_Guide/en-US/html/jsf.reference.html#standard.config.params</a></p> <p>That custom resource resolver is not needed in your case. That resource resolver is just a tricky way to get xhtml files from custom file system folder. In your case JRebel does that (and even more).</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload