Why are composite components xhtml files not refreshed?

Hello,

I have a problem when editing xhtml files of composite components (JSF).
When I edit a file, it is not refreshed nor hot swapped.
One curious thing is that the problem appears only with composite component xhtml files, note with other xhtml, css or js files.

I have set 'On Update action' and 'On frame deactivation' to 'Update classes and resources', and I have my web exploded war under my run config > Deployment > 'Deploy at the server startup'

NB: it seems composite component xhtml files are refreshed 'periodically' (or randomly?), as it was cached, but this period is rather long...
NB2: My colleague has the very same problem

Has someone already had this problem and know how to solve it? For now I have to restart the server each time I edit xhtml files
Thanks

3 comments
Comment actions Permalink
Hello,

What is your application server?
As a first thing to check, do you see subject xhtml files updated in the artifact compile output?


Regards


0
Comment actions Permalink

Hello,

I am using a Glassfish Payara 4.1.151 application server.
The web war (under my project / web app module / target / mywebapp.war) is not updated.
But it is also not updated when I edit a non-composite component xhtml file (which works fine after hot swap).

Regards

0
Comment actions Permalink

Did someone ever experienced the same issue?
I still have no solution to this annoying problem.

1

Please sign in to leave a comment.