Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1926 Adding more commands to Forge and improve existing ones
  3. FORGE-2482

When setting up JSF, make sure to allow comments in the page

    XMLWordPrintable

Details

    • Sub-task
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 2.19.1.Final
    • 3.x Future
    • Java EE
    • None

    Description

      By default, JSF pages do allow comments, which is a real drag (http://stackoverflow.com/questions/3388109/how-can-i-remove-html-comments-in-my-facelets). It would be good to set the javax.faces.FACELETS_SKIP_COMMENTS property to true in the web.xml :

      <context-param>
          <param-name>javax.faces.FACELETS_SKIP_COMMENTS</param-name>
          <param-value>true</param-value>
      </context-param>
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            agoncal Antonio Goncalves
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: