Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 2.2 Sprint 8
    • Fix Version/s: 2.2
    • Component/s: Facelets/VDL
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      532
    • Status Whiteboard:
      Hide

      size_large importance_medium

      Show
      size_large importance_medium

      Description

      Currently JSF does not support decomposition of a web application into smaller
      reusable fragments. For example, you can't build a collection of pages, managed
      beans, and navigation rules to perform a common task like completing a consumer
      transaction (enter shipping info, billing info, etc.) and package it as a
      reusable component. Instead, JSF treats a web application as one monolithic
      entity, which becomes problematic in large application. It would be useful to
      able to package a portion of a web application into a reusable library.

        Issue Links

          Activity

          Hide
          Ed Burns added a comment -

          Move to unscheduled target milestone

          Show
          Ed Burns added a comment - Move to unscheduled target milestone
          Hide
          Ed Burns added a comment -

          Prepare to delete "spec" subcomponent.

          Show
          Ed Burns added a comment - Prepare to delete "spec" subcomponent.
          Hide
          Ed Burns added a comment -

          I think the Servlet 3.0 spec addresses this. If you feel it does not, please re-open.

          Show
          Ed Burns added a comment - I think the Servlet 3.0 spec addresses this. If you feel it does not, please re-open.
          Hide
          daschneider added a comment -

          What I had in mind was more along the lines of a Spring WebFlow or an Oracle ADF
          Task flow. I don't believe there's anything like this currently covered by any
          of the JavaEE specifications.

          Show
          daschneider added a comment - What I had in mind was more along the lines of a Spring WebFlow or an Oracle ADF Task flow. I don't believe there's anything like this currently covered by any of the JavaEE specifications.
          Hide
          Ed Burns added a comment -

          edburns

          Show
          Ed Burns added a comment - edburns
          Hide
          Ed Burns added a comment -

          This would be great to have, but it's not on the radar at the moment. Feel free to contribute it!

          Show
          Ed Burns added a comment - This would be great to have, but it's not on the radar at the moment. Feel free to contribute it!
          Hide
          rogerk added a comment -

          triage

          Show
          rogerk added a comment - triage
          Hide
          kellerapps added a comment -

          Should programmers use facelet includes to factor out modal dialogs, tab content, & the like?

          Show
          kellerapps added a comment - Should programmers use facelet includes to factor out modal dialogs, tab content, & the like?
          Hide
          daschneider added a comment -

          The intent of this feature is not to handle page fragment use cases as the above comment suggests. It's intended to allow creation of application fragments that consist of multiple pages, managed bean definitions, navigation rules, etc. that can be packaged up into reusable units. For example, say you have a shopping site checkout flow that consists of several pages to collect billing informaiton, shipping information, confirm the order, etc. How can you build this as a reusable unit that can be used by multiple faces web applications? That's the type of use case this feature intendes to address.

          Show
          daschneider added a comment - The intent of this feature is not to handle page fragment use cases as the above comment suggests. It's intended to allow creation of application fragments that consist of multiple pages, managed bean definitions, navigation rules, etc. that can be packaged up into reusable units. For example, say you have a shopping site checkout flow that consists of several pages to collect billing informaiton, shipping information, confirm the order, etc. How can you build this as a reusable unit that can be used by multiple faces web applications? That's the type of use case this feature intendes to address.
          Hide
          lamine_ba added a comment - - edited

          daschneider, I have voted for your issue.

          Show
          lamine_ba added a comment - - edited daschneider, I have voted for your issue.
          Hide
          kito75 added a comment - - edited
          Show
          kito75 added a comment - - edited Related issues: Make flows reusable http://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-730 Simplify external view loading requirements http://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-809 Plugin System: http://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-970
          Hide
          lamine_ba added a comment -

          As you can read it above in a comment left by daschneider

          daschneider>What I had in mind was more along the lines of a Spring WebFlow or an Oracle ADF
          daschneider> Task flow. I don't believe there's anything like this currently covered by any
          daschneider> of the JavaEE specifications.

          This issue is a duplicate to http://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-730.
          they are sharing the same goal : modularization of a JSF application and it wouldn't make sense to achieve it in two different ways. So I think it is better to close this one in favor of the Tasksflow feature which is already meaningful.

          Show
          lamine_ba added a comment - As you can read it above in a comment left by daschneider daschneider>What I had in mind was more along the lines of a Spring WebFlow or an Oracle ADF daschneider> Task flow. I don't believe there's anything like this currently covered by any daschneider> of the JavaEE specifications. This issue is a duplicate to http://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-730 . they are sharing the same goal : modularization of a JSF application and it wouldn't make sense to achieve it in two different ways. So I think it is better to close this one in favor of the Tasksflow feature which is already meaningful.
          Hide
          Ed Burns added a comment -

          This really is a subset of the requirements of task flows.

          Show
          Ed Burns added a comment - This really is a subset of the requirements of task flows.
          Hide
          Manfred Riem added a comment -

          Closing resolved issue out

          Show
          Manfred Riem added a comment - Closing resolved issue out

            People

            • Assignee:
              Ed Burns
              Reporter:
              daschneider
            • Votes:
              16 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 week, 3 days
                1w 3d
                Remaining:
                Remaining Estimate - 1 week, 3 days
                1w 3d
                Logged:
                Time Spent - Not Specified
                Not Specified