Uploaded image for project: 'Seam Faces'
  1. Seam Faces
  2. SEAMFACES-102

Support @ViewConfig configuration via facelet <f:metadata> child tags

    Details

      Description

      It would be nice to support overrides of the ViewMeta configuration (for transactional control, security constraints and URL-rewriting) with tags nested in the facelet <f:metadata>.

      To achieve this we could use a phase listener that parses the component tree of a view, and dynamically builds the ViewMeta on first visit.

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            bleathem Brian Leathem added a comment -

            Note: this does not allow for "inheritance through templating":
            "The page author must ensure that the <f:metadata> element does not appear on a template or included page. It must reside on the root page that corresponds to the viewId."

            From:
            http://javaserverfaces.java.net/nonav/docs/2.0/pdldocs/facelets/f/metadata.html

            Show
            bleathem Brian Leathem added a comment - Note: this does not allow for "inheritance through templating": "The page author must ensure that the <f:metadata> element does not appear on a template or included page. It must reside on the root page that corresponds to the viewId." From: http://javaserverfaces.java.net/nonav/docs/2.0/pdldocs/facelets/f/metadata.html

              People

              • Assignee:
                Unassigned
                Reporter:
                bleathem Brian Leathem
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Development