| <portlet-app version="1.0" xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" id="struts-portlet"> |
| <portlet id="StrutsDBPortlet"> |
| <description xml:lang="EN">Struts Database Portlet</description> |
| <portlet-name>StrutsDBPortlet</portlet-name> |
| <display-name xml:lang="EN">Struts Database Portlet</display-name> |
| |
| <portlet-class>org.apache.struts2.portlet.dispatcher.Jsr286Dispatcher</portlet-class> |
| |
| <init-param> |
| <name>actionPackages</name> |
| <value>${package}</value> |
| </init-param> |
| <init-param> |
| <!-- The view mode namespace. Maps to a namespace in the xwork config file --> |
| <name>viewNamespace</name> |
| <value>/view</value> |
| </init-param> |
| <init-param> |
| <!-- The default action to invoke in view mode --> |
| <name>defaultViewAction</name> |
| <value>index</value> |
| </init-param> |
| <init-param> |
| <!-- The view mode namespace. Maps to a namespace in the xwork config file --> |
| <name>editNamespace</name> |
| <value>/edit</value> |
| </init-param> |
| <init-param> |
| <!-- The default action to invoke in view mode --> |
| <name>defaultEditAction</name> |
| <value>index</value> |
| </init-param> |
| <init-param> |
| <!-- The view mode namespace. Maps to a namespace in the xwork config file --> |
| <name>helpNamespace</name> |
| <value>/help</value> |
| </init-param> |
| <init-param> |
| <!-- The default action to invoke in view mode --> |
| <name>defaultHelpAction</name> |
| <value>index</value> |
| </init-param> |
| |
| <expiration-cache>0</expiration-cache> |
| |
| <supports> |
| <mime-type>text/html</mime-type> |
| <portlet-mode>edit</portlet-mode> |
| <portlet-mode>help</portlet-mode> |
| </supports> |
| |
| <supported-locale>en</supported-locale> |
| |
| <portlet-info> |
| <title>Struts Database Porlet</title> |
| <short-title>DB</short-title> |
| <keywords>struts,portlet,database</keywords> |
| </portlet-info> |
| </portlet> |
| |
| </portlet-app> |