|
Spring Framework example source code file (portlet.xml)
The Spring Framework portlet.xml source code
<?xml version="1.0" encoding="ISO-8859-1"?>
<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">
<portlet>
<portlet-name>welcome
<portlet-class>org.springframework.web.portlet.DispatcherPortlet
<init-param>
<name>contextConfigLocation
<value>/WEB-INF/context/welcome-portlet.xml
</init-param>
<supports>
<mime-type>text/html
<portlet-mode>view
</supports>
<portlet-info>
<title>Welcome
</portlet-info>
</portlet>
<portlet>
<portlet-name>pets
<portlet-class>org.springframework.web.portlet.DispatcherPortlet
<init-param>
<name>contextConfigLocation
<value>/WEB-INF/context/pets-portlet.xml
</init-param>
<supports>
<mime-type>text/html
<portlet-mode>view
<portlet-mode>edit
<portlet-mode>help
</supports>
<portlet-info>
<title>Pets
</portlet-info>
</portlet>
<portlet>
<portlet-name>upload
<portlet-class>org.springframework.web.portlet.DispatcherPortlet
<init-param>
<name>contextConfigLocation
<value>/WEB-INF/context/upload-portlet.xml
</init-param>
<supports>
<mime-type>text/html
<portlet-mode>view
</supports>
<portlet-info>
<title>Description Upload
</portlet-info>
</portlet>
<portlet>
<portlet-name>mode
<portlet-class>org.springframework.web.portlet.DispatcherPortlet
<init-param>
<name>contextConfigLocation
<value>/WEB-INF/context/mode-portlet.xml
</init-param>
<supports>
<mime-type>text/html
<portlet-mode>view
<portlet-mode>edit
<portlet-mode>help
</supports>
<portlet-info>
<title>Portlet Modes
</portlet-info>
</portlet>
<portlet>
<portlet-name>petsites
<portlet-class>org.springframework.web.portlet.DispatcherPortlet
<init-param>
<name>contextConfigLocation
<value>/WEB-INF/context/petsites-portlet.xml
</init-param>
<supports>
<mime-type>text/html
<portlet-mode>view
<portlet-mode>edit
</supports>
<portlet-info>
<title>Pet Sites
</portlet-info>
</portlet>
</portlet-app>
Other Spring Framework examples (source code examples)Here is a short list of links related to this Spring Framework portlet.xml source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.