From 458511e7746e49301d21fa319d5f9770300e920a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 28 Apr 2020 23:03:01 +0200 Subject: [PATCH] Please cherry-pick: - added javax.faces.FACELETS_SKIP_COMMENTS to let JSF +2.1 (2.3 is used anyway) engines ignore commented out JSF tags (and the EL code inside it). With this option, the developer has what he needs, IMO as this allowws temporary removing JSF tags from the component tree as the developer desires. Okay, ui:remove is also around ... MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- web/WEB-INF/web.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web/WEB-INF/web.xml b/web/WEB-INF/web.xml index 0c57d37c..07e266c5 100644 --- a/web/WEB-INF/web.xml +++ b/web/WEB-INF/web.xml @@ -187,6 +187,11 @@ receipt_barcode_type codabar + + Ignore menu items with only comments in it. + javax.faces.FACELETS_SKIP_COMMENTS + true + Faces Servlet javax.faces.webapp.FacesServlet -- 2.39.5