mirror of
https://github.com/apache/struts.git
synced 2026-08-06 07:06:58 +00:00
WW-1308 Disable include of jasperreport and JSF results by default. Specify the JSF result in the appropriate package of the showcase application.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@438570 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -5,6 +5,11 @@
|
||||
<include file="struts-default.xml"/>
|
||||
|
||||
<package name="jsf" extends="struts-default" namespace="/jsf">
|
||||
|
||||
<result-types>
|
||||
<result-type name="jsf" class="org.apache.struts2.jsf.FacesResult" />
|
||||
</result-types>
|
||||
|
||||
<interceptors>
|
||||
<interceptor-stack name="jsfFullStack">
|
||||
<interceptor-ref name="params" />
|
||||
@@ -12,8 +17,9 @@
|
||||
<interceptor-ref name="jsfStack"/>
|
||||
</interceptor-stack>
|
||||
</interceptors>
|
||||
|
||||
|
||||
<default-interceptor-ref name="jsfFullStack"/>
|
||||
|
||||
</package>
|
||||
|
||||
<package name="jsf.employee" extends="jsf" namespace="/jsf/employee">
|
||||
|
||||
@@ -19,10 +19,10 @@
|
||||
<result-type name="xslt" class="org.apache.struts2.views.xslt.XSLTResult"/>
|
||||
<result-type name="plaintext" class="org.apache.struts2.dispatcher.PlainTextResult" />
|
||||
|
||||
<!-- third party integration -->
|
||||
<!-- third party integration
|
||||
<result-type name="jasper" class="org.apache.struts2.views.jasperreports.JasperReportsResult"/>
|
||||
|
||||
<result-type name="jsf" class="org.apache.struts2.jsf.FacesResult" />
|
||||
-->
|
||||
</result-types>
|
||||
|
||||
<interceptors>
|
||||
|
||||
Reference in New Issue
Block a user