Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-2032

make page resources configurable for Pages (i.e. WEB-INF/pages.xml)

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Rejected
    • Affects Version/s: 2.0.0.CR1
    • Fix Version/s: 2.0.0.CR2
    • Component/s: Core
    • Labels:
      None
    • Estimated Difficulty:
      Low

      Description

      Everything is setup to be able to configure the location of the pages.xml file, except the property is not exposed. I feel this is both important for tests and allows users to put pages.xml on the classpath (i.e. META-INF/pages.xml) rather than in the web-specific WEB-INF directory.

      It will be configured using:

      <component class="org.jboss.seam.navigation.Pages">
      <property name="resources">
      <value>/WEB-INF/pages.xml</value>
      <value>/META-INF/pages.xml</value>
      </property>
      </component>

      The only limitation is that the ResourceLoader used only looks in the servlet life cycle classpath. That will need to be a separate enhancement.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                dan.j.allen Dan Allen
                Reporter:
                dan.j.allen Dan Allen
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 5 minutes
                  5m
                  Remaining:
                  Remaining Estimate - 5 minutes
                  5m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified