[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2032) make page resources configurable for Pages (i.e. WEB-INF/pages.xml)
by Dan Allen (JIRA)
make page resources configurable for Pages (i.e. WEB-INF/pages.xml)
-------------------------------------------------------------------
Key: JBSEAM-2032
URL: http://jira.jboss.com/jira/browse/JBSEAM-2032
Project: JBoss Seam
Issue Type: Feature Request
Components: Core
Affects Versions: 2.0.0.CR1
Reporter: Dan Allen
Assigned To: Dan Allen
Priority: Minor
Fix For: 2.0.0.CR2
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 9 months