1 Reply Latest reply on Jan 19, 2015 11:32 AM by Zoltan Papp

    auto deploy xhtml changes

    Zoltan Papp Newbie

      I use wildfly 8.2 and JBoss Developer Studio 8.

      When I change any .js file, it appears in browser.

      But if I change xhtml, I must full publish / restart the project if I'd like see the changes.

      So, I googled around, I try change jsp-config development=true, but nothing.

      If I use JBoss EAP 6.2, deploy works for xhtml files. But after that (like EAP 6.3) it does't work.

       

      Have U any idea?

       

      Thanks,

      Zoltan

        • 1. Re: auto deploy xhtml changes
          Zoltan Papp Newbie

          edit project web.xml, add following:

           

          <context-param>
          <param-name>javax.faces.PROJECT_STAGE</param-name>
          <param-value>Development</param-value>
          </context-param>
          <context-param>
          <param-name>facelets.DEVELOPMENT</param-name>
          <param-value>true</param-value>
          </context-param>

           

           

          <context-param>
          <param-name>javax.faces.FACELETS_REFRESH_PERIOD</param-name>
          <param-value>1</param-value>
          </context-param>

           

           

          <context-param>
          <param-name>facelets.REFRESH_PERIOD</param-name>
          <param-value>1</param-value>
          </context-param>