5

This question is spawned from Mac: JSF: why are development stage JSF web apps not always catching composite component changes?. If I can answer the question here, I will have a brute-force strategy for getting around that other reported problem, but this question here has a standalone purpose.

Q: How can I programmatically force clearing of the Facelets in-memory cache in a running web app (so that I can create a listener that is invoked from a [Clear Facelets Cache] button) ?

I am using NetBeans8.1beta and Glassfish4.1, with deployment over the NetBeans project's /build/web.

3
  • Have you been able to find a solution for this by now?
    – Roben
    Jul 15, 2016 at 11:26
  • @Roben No solution yet, and still very interested in finding one. Webel Jul 19, 2016 at 5:10
  • Maybe this will be possible using a custom facelet cache factory. See the answer from Ballusc on stackoverflow.com/questions/31984924/…. Thanks to seam, I am still stuck with JSF 2.1 though, so I am currently not able to test this.
    – Roben
    Jul 20, 2016 at 10:30

0

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.