Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用组件 p: panelGrid,并在其中放置了我的表单的各种组件。我很惊讶,为了便于理解代码,我放了一个注释,他把它当作一个组件,并根据注释排序。
谁能向我解释为什么会这样?
尝试javax.faces.FACELETS_SKIP_COMMENTS在web.xml.
javax.faces.FACELETS_SKIP_COMMENTS
web.xml
<context-param> <param-name>javax.faces.FACELETS_SKIP_COMMENTS</param-name> <param-value>true</param-value> </context-param>