Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-930

JXTemplate should use a subset of the FOM

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.8
    • None
    • - Flowscript
    • None
    • Operating System: other
      Platform: Other
    • 25286

    Description

      JXTemplate should use a subset of the FOM, namely by
      providing a variable "cocoon" with the following properties:

       - request
       - session
       - context
       - continuation

      Each of these would be a reference to the corresponding FOM object. This
      will unify the object model of the controller and view.

      I will deprecate the existing "request", "response", "session",
      "context" (which point at org.apache.cocoon.environment Java objects)
      and "continuation" variables but continue to support them.

      This is needed to provide a consistent interface between the controller
      and the view. See also:
      http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=106971256203925&w=2
      http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=106140130601357&w=2
      http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=106140404404983&w=2

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              reinhard@apache.org Reinhard Poetz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: