Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Works as designed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:
      None

      Description

      The goal of this feature is to define a standard structure for a JSF 2.2 application. And here is the proposal :

      Resources


      The css, js, images files must be stored in the resources folder like for JSF 2.0

      • resources
      Views


      The views must be stored in a folder named views

      • views


      The protected views must be stored in a sub folder named protected

      • views
        • protected
      Templates


      The templates must be stored in a folder named templates

      • templates
        • mytemplate
          • css
          • js
          • images
          • template.xhtml
          • template.png
          • template.xml
      Tasks Flows (modules)


      The modules must be stored in a folder named modules. Note that the structure of a Task flow has not yet been set.

      • modules

      And we end up finally with this standard and cohesive structure :

      • app
        • resources
        • views
        • templates
        • modules
        • web-inf
      Externalization of the JSF artifacts


      The folders must be externalized and stored out of the WAR file to enlarge the possibilities for new ideas and systems.

        Activity

          People

          • Assignee:
            Ed Burns
            Reporter:
            lamine_ba
          • Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: