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

        lamine_ba created issue -
        lamine_ba made changes -
        Field Original Value New Value
        Summary Define an standard structure for a JSF application Define a standard structure for a JSF application
        lamine_ba made changes -
        Description The goal of this feature is to define a standard structure for a JSF 2.2 application. And here is the proposal :

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

        - resources

        h5. Views
        \\
        The views must be stored in a folder named views

        - views

        h5. Templates
        \\
        The templates must be stored in a folder named templates

        - templates
         -- mytemplate
           --- css
           --- js
           --- images
           --- template.xhtml
           --- template.png
           --- template.xml

        h5. 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 finally with this standard and cohesive structure :

        - app
            -- resources
            -- views
            -- templates
            -- modules
            -- web-inf
         
        h5. 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.


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

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

        - resources

        h5. 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

        h5. Templates
        \\
        The templates must be stored in a folder named templates

        - templates
         -- mytemplate
           --- css
           --- js
           --- images
           --- template.xhtml
           --- template.png
           --- template.xml

        h5. 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
         
        h5. 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.


        lamine_ba made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Works as designed [ 7 ]
        Manfred Riem made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: