Modified: portals/portlet-spec/portlet-api-1.0/src/main/java/javax/portlet/portlet.xml.txt URL: http://svn.apache.org/viewvc/portals/portlet-spec/portlet-api-1.0/src/main/java/javax/portlet/portlet.xml.txt?rev=772799&r1=772798&r2=772799&view=diff ============================================================================== --- portals/portlet-spec/portlet-api-1.0/src/main/java/javax/portlet/portlet.xml.txt (original) +++ portals/portlet-spec/portlet-api-1.0/src/main/java/javax/portlet/portlet.xml.txt Thu May 7 22:48:03 2009 @@ -1,71 +1,89 @@ -<?xml version="1.0" encoding="UTF-8"?> -<portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"> - <portlet> - <description xml:lang="EN">Portlet displaying the time in different time zones</description> - <description xml:lang="DE">Dieses Portlet zeigt die Zeit in verschiedenen Zeitzonen an. </description> - <portlet-name>TimeZoneClock</portlet-name> - <display-name xml:lang="EN">Time Zone Clock Portlet</display-name> - <display-name xml:lang="DE">ZeitzonenPortlet</display-name> - <portlet-class>com.myco.samplets.util.zoneclock.ZoneClock</portlet-class> - <expiration-cache>-1</expiration-cache> - <supports> - <mime-type>text/html</mime-type> - <portlet-mode>config</portlet-mode> - <portlet-mode>edit</portlet-mode> - <portlet-mode>help</portlet-mode> - </supports> - <supports> - <mime-type>text/wml</mime-type> - <portlet-mode>edit</portlet-mode> - <portlet-mode>help</portlet-mode> - </supports> - <supported-locale>EN</supported-locale> - <portlet-info> - <title>Time Zone Clock</title> - <short-title>TimeZone</short-title> - <keywords>Time, Zone, World, Clock</keywords> - </portlet-info> - <portlet-preferences> - <preference> - <name>time-server</name> - <value>http://timeserver.myco.com</value> - <read-only>true</read-only> - </preference> - <preference> - <name>port</name> - <value>404</value> - <read-only>true</read-only> - </preference> - <preference> - <name>time-format</name> - <value>HH</value> - <value>mm</value> - <value>ss</value> - </preference> - </portlet-preferences> - <security-role-ref> - <role-name>trustedUser</role-name> - <role-link>auth-user</role-link> - </security-role-ref> - </portlet> - <custom-portlet-mode> - <description xml:lang="EN">Pre-defined custom portlet mode CONFIG</description> - <portlet-mode>CONFIG</portlet-mode> - </custom-portlet-mode> - <custom-window-state> - <description xml:lang="EN">Occupies 50% of the portal page</description> - <window-state>half-page</window-state> - </custom-window-state> - <user-attribute> - <description xml:lang="EN">Pre-defined attribute for the telephone number of the user at work.</description> - <name>workInfo/telephone</name> - </user-attribute> - <security-constraint> - <portlet-collection> - <portlet-name>TimeZoneClock</portlet-name> - </portlet-collection> - <user-data-constraint> - <transport-guarantee>CONFIDENTIAL</transport-guarantee> - </user-data-constraint> - </security-constraint> -</portlet-app> +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +--> +<portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"> + <portlet> + <description xml:lang="EN">Portlet displaying the time in different time zones</description> + <description xml:lang="DE">Dieses Portlet zeigt die Zeit in verschiedenen Zeitzonen an. </description> + <portlet-name>TimeZoneClock</portlet-name> + <display-name xml:lang="EN">Time Zone Clock Portlet</display-name> + <display-name xml:lang="DE">ZeitzonenPortlet</display-name> + <portlet-class>com.myco.samplets.util.zoneclock.ZoneClock</portlet-class> + <expiration-cache>-1</expiration-cache> + <supports> + <mime-type>text/html</mime-type> + <portlet-mode>config</portlet-mode> + <portlet-mode>edit</portlet-mode> + <portlet-mode>help</portlet-mode> + </supports> + <supports> + <mime-type>text/wml</mime-type> + <portlet-mode>edit</portlet-mode> + <portlet-mode>help</portlet-mode> + </supports> + <supported-locale>EN</supported-locale> + <portlet-info> + <title>Time Zone Clock</title> + <short-title>TimeZone</short-title> + <keywords>Time, Zone, World, Clock</keywords> + </portlet-info> + <portlet-preferences> + <preference> + <name>time-server</name> + <value>http://timeserver.myco.com</value> + <read-only>true</read-only> + </preference> + <preference> + <name>port</name> + <value>404</value> + <read-only>true</read-only> + </preference> + <preference> + <name>time-format</name> + <value>HH</value> + <value>mm</value> + <value>ss</value> + </preference> + </portlet-preferences> + <security-role-ref> + <role-name>trustedUser</role-name> + <role-link>auth-user</role-link> + </security-role-ref> + </portlet> + <custom-portlet-mode> + <description xml:lang="EN">Pre-defined custom portlet mode CONFIG</description> + <portlet-mode>CONFIG</portlet-mode> + </custom-portlet-mode> + <custom-window-state> + <description xml:lang="EN">Occupies 50% of the portal page</description> + <window-state>half-page</window-state> + </custom-window-state> + <user-attribute> + <description xml:lang="EN">Pre-defined attribute for the telephone number of the user at work.</description> + <name>workInfo/telephone</name> + </user-attribute> + <security-constraint> + <portlet-collection> + <portlet-name>TimeZoneClock</portlet-name> + </portlet-collection> + <user-data-constraint> + <transport-guarantee>CONFIDENTIAL</transport-guarantee> + </user-data-constraint> + </security-constraint> +</portlet-app>
