topical media & game development
professional-portal-09-MVCPortlet-web-WEB-INF-portlet.xml / xml
<?xml version="1.0" encoding="UTF-8"?>
<portlet-app>
<portlet>
<description lang="EN">MVC Portlet Test</description>
<portlet-name>MVCPortlet</portlet-name>
<display-name lang="EN">MVCPortlet</display-name>
<portlet-class>exo.portal.portlet.ExoPortletFramework</portlet-class>
<init-param>
<description>Portlet Controller</description>
<name>controller-url</name>
<value>controllers.xml</value>
</init-param>
<init-param>
<description>jsp files location</description>
<name>template-location</name>
<value>/WEB-INF/templates/html/</value>
</init-param>
<expiration-cache>-1</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>
<resource-bundle>PortletResource</resource-bundle>
<portlet-info>
<title>MVCPortlet</title>
<short-title>MVCPortlet</short-title>
<keywords>MVCPortlet</keywords>
</portlet-info>
<portlet-preferences>
<preference>
<name>loanAmount</name>
<value>5000.00</value>
</preference>
<preference>
<name>loanTerm</name>
<value>60</value>
</preference>
<preference>
<name>loanRate</name>
<value>7.5</value>
</preference>
<preference>
<name>loanPayment</name>
<value>0.0</value>
</preference>
<preferences-validator>mvctest.MVCPortletValidator</preferences-validator>
</portlet-preferences>
<security-role-ref>
<role-name>trustedUser</role-name>
<role-link>auth-user</role-link>
</security-role-ref>
</portlet>
<custom-portlet-mode>
<description lang="EN">Pre defined custom portlet mode CONFIG</description>
<portlet-mode>CONFIG</portlet-mode>
</custom-portlet-mode>
</portlet-app>
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.