===================================================================
--- components/portal/src/java/org/apache/jetspeed/container/url/impl/JetspeedPortletURL.java (revision 449944)
+++ components/portal/src/java/org/apache/jetspeed/container/url/impl/JetspeedPortletURL.java (working copy)
@@ -30,13 +30,17 @@
*/
public class JetspeedPortletURL extends PortletURLImpl
{
+ private String portletAnchor = null;
public JetspeedPortletURL(PortletWindow portletWindow, HttpServletRequest servletRequest, HttpServletResponse servletResponse, boolean isAction)
- {
+ {
super(portletWindow, servletRequest, servletResponse, isAction);
+ // for better accessibility when an action is submitted the portal points to portlet id that submitted the action
+ if(isAction)
+ this.portletAnchor = "#" + portletWindow.getPortletEntity().getId();
}
public String toString()
- {
- return servletResponse.encodeURL(super.toString());
+ {
+ return servletResponse.encodeURL(super.toString()) + this.portletAnchor;
}
}
Index: applications/j2-admin/src/java/org/apache/jetspeed/portlets/localeselector/resources/LocaleSelectorResources.properties
===================================================================
--- applications/j2-admin/src/java/org/apache/jetspeed/portlets/localeselector/resources/LocaleSelectorResources.properties (revision 449944)
+++ applications/j2-admin/src/java/org/apache/jetspeed/portlets/localeselector/resources/LocaleSelectorResources.properties (working copy)
@@ -24,6 +24,7 @@
localeselector.label.change=Change
# Locale Name
+localeselector.locale.el=Greek
localeselector.locale.hu=Hungarian
localeselector.locale.de=German
localeselector.locale.en=English
Index: applications/j2-admin/src/java/org/apache/jetspeed/portlets/localeselector/resources/LocaleSelectorResources_en.properties
===================================================================
--- applications/j2-admin/src/java/org/apache/jetspeed/portlets/localeselector/resources/LocaleSelectorResources_en.properties (revision 449944)
+++ applications/j2-admin/src/java/org/apache/jetspeed/portlets/localeselector/resources/LocaleSelectorResources_en.properties (working copy)
@@ -12,21 +12,20 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
-# $Id: LocaleSelectorResources_en.properties 348264 2005-11-22 22:06:45Z taylor $
+# $Id: LocaleSelectorResources.properties 348264 2005-11-22 22:06:45Z taylor $
#
-# LOCALIZATION MAINTAINER:
-# Jetspeed Development Team
-# portlet info
-javax.portlet.title=Locale Selector
-javax.portlet.short-title=This is a portlet to select your preferred locale
-javax.portlet.keywords=Locale,Language
+# Base Locales
+# DO NOT TRANSLATE & DO NOT INCLUDE IN L10N PROPERTIES FILE
+localeselector.locales=de,en,es,fr,hu,it,ja,ko,nl,pl,pt,ru,sv,zh,zh_TW
# Label
localeselector.label.language=Language:
localeselector.label.change=Change
# Locale Name
+localeselector.locale.el=Greek
+localeselector.locale.hu=Hungarian
localeselector.locale.de=German
localeselector.locale.en=English
localeselector.locale.es=Spanish
@@ -35,10 +34,9 @@
localeselector.locale.ja=Japanese
localeselector.locale.ko=Korean
localeselector.locale.nl=Dutch
+localeselector.locale.pl=Polish
+localeselector.locale.pt=Portuguese
+localeselector.locale.ru=Russian
localeselector.locale.sv=Swedish
localeselector.locale.zh=Simplified Chinese
localeselector.locale.zh_TW=Traditional Chinese
-localeselector.locale.ru=Russian
-localeselector.locale.pt=Portuguese
-
-
Index: applications/j2-admin/src/webapp/WEB-INF/security/login/login.jsp
===================================================================
--- applications/j2-admin/src/webapp/WEB-INF/security/login/login.jsp (revision 449944)
+++ applications/j2-admin/src/webapp/WEB-INF/security/login/login.jsp (working copy)
@@ -41,9 +41,9 @@
-
+
-
+
@@ -51,34 +51,27 @@
-
+
-
+
-
+
-
+
-
Index: layout-portlets/src/java/org/apache/jetspeed/portlets/layout/resources/LayoutResource.properties
===================================================================
--- layout-portlets/src/java/org/apache/jetspeed/portlets/layout/resources/LayoutResource.properties (revision 449944)
+++ layout-portlets/src/java/org/apache/jetspeed/portlets/layout/resources/LayoutResource.properties (working copy)
@@ -17,7 +17,7 @@
portal.page.help.title = Portal Pages
portal.page.help.view = Render the page in view mode.
portal.page.help.help = Get help on a page or portlet.
-portal.page.help.edit = Edit a portal page. Which includes changing the theme or layout, adding pages, changing the portlet application decorators, and moving or removing portlet applications from a page.
+portal.page.help.edit = Edit a portal page. Which includes changing the theme or layout, adding pages, changing the portlet application decorators, and moving or removing portlet applications from a page. [reload page]
portal.page.help.select = Add more portlet applications to a page.
portal.portlet.help.title = Portlet Applications
portal.portlet.help.minimize = Minimize a portlet.
@@ -34,22 +34,24 @@
portal.page.editing.theme=Theme:
portal.page.editing.layout=Layout:
-portal.page.editing.changelayout=Change
-portal.page.editing.addlayout=Add
-portal.page.editing.page=Page:
-portal.page.editing.addpage=Add
-portal.page.editing.portlet=Portlet:
-portal.page.editing.addportlet=Add a Portlet
-portal.page.editing.movePortletLeft=Move Portlet Left
-portal.page.editing.movePortletUp=Move Portlet Up
-portal.page.editing.removePortlet=Remove Portlet
-portal.page.editing.movePortletDown=Move Portlet Down
-portal.page.editing.movePortletRight=Move Portlet Right
-portal.page.editing.moveLayoutLeft=Move Layout Left
-portal.page.editing.moveLayoutUp=Move Layout Up
-portal.page.editing.removeLayout=Remove Layout
-portal.page.editing.moveLayoutDown=Move Layout Down
-portal.page.editing.moveLayoutRight=Move Layout Right
+portal.page.editing.changelayout=Change Layout
+portal.page.editing.changetheme=Change Theme
+portal.page.editing.addlayout=Add portlet
+portal.page.editing.page=New Page:
+portal.page.editing.addpage=Create Page
+portal.page.editing.portlet=Add Portlet [pop up window]:
+portal.page.editing.addportlet=Add a Portlet [new window]
+portal.page.editing.movePortletLeft=Move Portlet Left [reload page]
+portal.page.editing.movePortletUp=Move Portlet Up [reload page]
+portal.page.editing.removePortlet=Remove Portlet [reload page]
+portal.page.editing.movePortletDown=Move Portlet Down [reload page]
+portal.page.editing.movePortletRight=Move Portlet Right [reload page]
+portal.page.editing.moveLayoutLeft=Move Layout Left [reload page]
+portal.page.editing.moveLayoutUp=Move Layout Up [reload page]
+portal.page.editing.removeLayout=Remove Layout [reload page]
+portal.page.editing.moveLayoutDown=Move Layout Down [reload page]
+portal.page.editing.moveLayoutRight=Move Layout Right [reload page]
+portal.page.editing.editFieldset=Customize
portal.loginform.logout=Logout
portal.loginform.login=Login
@@ -57,3 +59,8 @@
portal.loginform.password=Password:
portal.loginform.change_password=Change Password
portal.loginform.error.invalid_password=Invalid password
+
+portal.page.navigation.skip=skip
+portal.page.navigation.msg.pages=Select page or
+portal.page.navigation.msg.page-navigations=Select subsite or
+portal.page.navigation.msg.additional-links=Select additional link or
Index: layout-portlets/src/java/org/apache/jetspeed/portlets/layout/resources/LayoutResource_en.properties
===================================================================
--- layout-portlets/src/java/org/apache/jetspeed/portlets/layout/resources/LayoutResource_en.properties (revision 449944)
+++ layout-portlets/src/java/org/apache/jetspeed/portlets/layout/resources/LayoutResource_en.properties (working copy)
@@ -17,7 +17,7 @@
portal.page.help.title = Portal Pages
portal.page.help.view = Render the page in view mode.
portal.page.help.help = Get help on a page or portlet.
-portal.page.help.edit = Edit a portal page. Which includes changing the theme or layout, adding pages, changing the portlet application decorators, and moving or removing portlet applications from a page.
+portal.page.help.edit = Edit a portal page. Which includes changing the theme or layout, adding pages, changing the portlet application decorators, and moving or removing portlet applications from a page. [reload page]
portal.page.help.select = Add more portlet applications to a page.
portal.portlet.help.title = Portlet Applications
portal.portlet.help.minimize = Minimize a portlet.
@@ -34,22 +34,24 @@
portal.page.editing.theme=Theme:
portal.page.editing.layout=Layout:
-portal.page.editing.changelayout=Change
-portal.page.editing.addlayout=Add
-portal.page.editing.page=Page:
-portal.page.editing.addpage=Add
-portal.page.editing.portlet=Portlet:
-portal.page.editing.addportlet=Add a Portlet
-portal.page.editing.movePortletLeft=Move Portlet Left
-portal.page.editing.movePortletUp=Move Portlet Up
-portal.page.editing.removePortlet=Remove Portlet
-portal.page.editing.movePortletDown=Move Portlet Down
-portal.page.editing.movePortletRight=Move Portlet Right
-portal.page.editing.moveLayoutLeft=Move Layout Left
-portal.page.editing.moveLayoutUp=Move Layout Up
-portal.page.editing.removeLayout=Remove Layout
-portal.page.editing.moveLayoutDown=Move Layout Down
-portal.page.editing.moveLayoutRight=Move Layout Right
+portal.page.editing.changelayout=Change Layout
+portal.page.editing.changetheme=Change Theme
+portal.page.editing.addlayout=Add portlet
+portal.page.editing.page=New Page:
+portal.page.editing.addpage=Create Page
+portal.page.editing.portlet=Add Portlet [pop up window]:
+portal.page.editing.addportlet=Add a Portlet [new window]
+portal.page.editing.movePortletLeft=Move Portlet Left [reload page]
+portal.page.editing.movePortletUp=Move Portlet Up [reload page]
+portal.page.editing.removePortlet=Remove Portlet [reload page]
+portal.page.editing.movePortletDown=Move Portlet Down [reload page]
+portal.page.editing.movePortletRight=Move Portlet Right [reload page]
+portal.page.editing.moveLayoutLeft=Move Layout Left [reload page]
+portal.page.editing.moveLayoutUp=Move Layout Up [reload page]
+portal.page.editing.removeLayout=Remove Layout [reload page]
+portal.page.editing.moveLayoutDown=Move Layout Down [reload page]
+portal.page.editing.moveLayoutRight=Move Layout Right [reload page]
+portal.page.editing.editFieldset=Customize
portal.loginform.logout=Logout
portal.loginform.login=Login
@@ -57,3 +59,8 @@
portal.loginform.password=Password:
portal.loginform.change_password=Change Password
portal.loginform.error.invalid_password=Invalid password
+
+portal.page.navigation.skip=skip
+portal.page.navigation.msg.pages=Select page or
+portal.page.navigation.msg.page-navigations=Select subsite or
+portal.page.navigation.msg.additional-links=Select additional link or
Index: src/webapp/WEB-INF/templates/layout/html/columns/layout.vm
===================================================================
--- src/webapp/WEB-INF/templates/layout/html/columns/layout.vm (revision 449944)
+++ src/webapp/WEB-INF/templates/layout/html/columns/layout.vm (working copy)
@@ -1,4 +1,4 @@
-
+##
#*
Copyright 2004 The Apache Software Foundation
@@ -54,7 +54,6 @@
#if($editing)
-
#if($isRoot)
#getBoolProperty($allowChangePageTheme $rootDecorator "allow.change.page.theme" true)
#getBoolProperty($allowAddPage $rootDecorator "allow.add.page" true)
@@ -80,16 +79,22 @@
#set($submit = ".submit()")
+
+ $messages.getString("portal.page.editing.editFieldset")
+
+
#if ($allowChangePageTheme)
- $messages.getString("portal.page.editing.theme")
-
+ $messages.getString("portal.page.editing.theme")
+
#foreach($td in $decorationFactory.getPageDecorations($rc))
$td
#end
+
+
#end
#if($allowAddLayout||$allowChangeLayout)
- $messages.getString("portal.page.editing.layout")
+ $messages.getString("portal.page.editing.layout")
#foreach($ld in $decorationFactory.getLayouts($rc))
$ld.DisplayName
@@ -97,47 +102,55 @@
#end
#if ($allowChangeLayout)
-
+
+
#end
#if($allowAddLayout)
-
+
+
#end
#if($allowAddPage)
- $messages.getString("portal.page.editing.page")
+ $messages.getString("portal.page.editing.page")
-
- #end
-
-
-
+
+
+
+
+
+
#end
#set ($dcnt = 0)
#set ($columnIndex = 0)
#if($editing)
+
#getBoolProperty($allowChangePortletDecorator $rootDecorator "allow.change.portlet.decorator" true)
#end
-
#foreach($column in $columnLayout.columns)
#set($columnFloat = $columnLayout.getColumnFloat($columnIndex))
#set($columnWidth = $columnLayout.getColumnWidth($columnIndex))
-
+
#end
-
+
## Now get the real content
$jetspeed.setCurrentFragment($f)
#if($f.type == "portlet")
#parse($f.decoration.template)
#else
$f.renderedContent
- #end
+ #end
+
#end
@@ -215,13 +231,15 @@
-
+
#if ($isRoot)
+
+##
+
#parse($myFragment.decoration.footer)
#end
-
Index: src/webapp/WEB-INF/pages/myportal.psml
===================================================================
--- src/webapp/WEB-INF/pages/myportal.psml (revision 0)
+++ src/webapp/WEB-INF/pages/myportal.psml (revision 0)
@@ -0,0 +1,39 @@
+
+
+
+ public-view
+
+ My Portal
+ My Portal (Settings)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Το πόρταλ μου (Ρυθμίσεις)
+
Index: src/webapp/WEB-INF/pages/folder.metadata
===================================================================
--- src/webapp/WEB-INF/pages/folder.metadata (revision 449944)
+++ src/webapp/WEB-INF/pages/folder.metadata (working copy)
@@ -1,6 +1,7 @@
- Root Folder
+ Root
+ Αρχική
Répertoire racine
ルートフォルダ
Carpeta raiz
@@ -8,8 +9,8 @@
根文件夾
Jetspeed2.link
@@ -49,6 +50,8 @@
+
+
public-view
Index: src/webapp/WEB-INF/pages/default-page.psml
===================================================================
--- src/webapp/WEB-INF/pages/default-page.psml (revision 449944)
+++ src/webapp/WEB-INF/pages/default-page.psml (working copy)
@@ -1,80 +1,45 @@
-
-
-
- Welcome to Jetspeed 2
- Ma Premiere Page de PSML
- Jetspeed 2 へようこそ
- ¡Bienvenido a Jetspeed 2!
- Köszönti a Jetspeed 2!
- 欢迎来到Jetspeed 2
- 歡迎來到Jetspeed 2
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ public-view
+
+ Welcome to Jetspeed 2
+ Welcome to Jetspeed 2
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- http://www.apache.org
-
-
-
-
-
-
-
-
-
-
-
-
-
- public-view
-
+ Καλώς Ήλθατε
+ Welcome
Index: src/webapp/decorations/portlet/accessible/decorator.vm
===================================================================
--- src/webapp/decorations/portlet/accessible/decorator.vm (revision 0)
+++ src/webapp/decorations/portlet/accessible/decorator.vm (revision 0)
@@ -0,0 +1,58 @@
+#*
+Copyright 2004 The Apache Software Foundation
+
+Licensed 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.
+*#
+
+#* ************************* READ ME *************************************
+This is the default template to be used for rendering decorations. If you
+find you cannot accomplish your design requirements by defining a custom
+style sheet for your decoration, you can define your own decorator.vm in
+the root of your decortaion. This will be used instead of the default.
+************************************************************************ *#
+
+#set($decoration = $f.decoration)
+#set($actions = $decoration.actions)
+
+
+
+
+ #set($solo = $jetspeed.MappedWindowState.toString()=="solo")
+ #if (!$solo)
+
+
+ #set ($ws=$jetspeed.MappedWindowState)
+
+ $!jetspeed.getTitle($jetspeed.getCurrentPortletEntity(), $f)
+
+
+ #PortletActionBar($decoration)
+
+
+ #end
+ #if (!$jetspeed.isHidden($f) && $jetspeed.WindowState.toString() != "minimized")
+ #if (!$solo)
+
+ #end
+
+ $f.renderedContent
+
+ #if (!$solo)
+
+ #end
+ #end
+
+
+
+
+
Index: src/webapp/decorations/portlet/accessible/css/styles.css
===================================================================
--- src/webapp/decorations/portlet/accessible/css/styles.css (revision 0)
+++ src/webapp/decorations/portlet/accessible/css/styles.css (revision 0)
@@ -0,0 +1,589 @@
+/*
+Copyright 2004 The Apache Software Foundation
+
+Licensed 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.
+*/
+
+
+
+.accessible .PTitle
+{
+ background-image:url(../images/title_background.gif);
+ color:#0080b0;
+
+ margin:0px;
+ padding-left:3px;
+ height:20px;
+}
+
+.accessible .PTitleContent
+{
+ font-weight:bold;
+ display: inline;
+ float: left;
+ white-space: normal;
+}
+
+.accessible .PActionBar
+{
+ float: right;
+ display: inline;
+}
+
+.accessible .PContentBorder
+{
+ border: 1px solid #90d0ff;
+ }
+
+.accessible .PContent
+{
+ clear:both;
+ margin:0px;
+ padding-left: 1em;
+ white-space: normal;
+ background-color: #ffffff;
+ font-size: 10pt;
+}
+
+
+/* font */
+.accessible .PTitleLeft,
+.accessible .PTitle,
+.accessible .PTitleContent,
+.accessible .PTitleRight,
+.accessible .PContentLeft,
+.accessible .PContent,
+.accessible .PContentRight,
+.accessible .PBottomLeft,
+.accessible .PBottom,
+.accessible .PBottomRight
+{
+ font-family: Verdana, Helvetica, Arial, sans-serif;
+
+ voice-family: inherit;
+ font-size: 10pt;
+}
+
+
+
+/* --------------------------------- */
+/* PLT.C.1 Links (Anchor) */
+/* --------------------------------- */
+
+.accessible A:link,
+.accessible A:visited {
+ text-decoration: underline;
+}
+
+.accessible A:hover,
+.accessible A:active {
+ text-decoration: underline;
+}
+
+/* font */
+.accessible A:link,
+.accessible A:visited,
+.accessible A:hover,
+.accessible A:active
+{
+ font-family: Verdana, Helvetica, Arial, sans-serif;
+ voice-family: "\"}\"";
+ voice-family: inherit;
+ font-size: 10pt;
+}
+
+
+/* --------------------------------- */
+/* PLT.C.2 Fonts */
+/* --------------------------------- */
+
+.accessible .portlet-font {
+ color: black;
+}
+.accessible .portlet-font-dim {
+ color: gray;
+}
+
+/* font */
+.accessible .portlet-font,
+.accessible .portlet-font-dim
+{
+ font-family: Verdana, Helvetica, Arial, sans-serif;
+ voice-family: "\"}\"";
+ voice-family: inherit;
+ font-size: 10pt;
+}
+
+
+
+/* --------------------------------- */
+/* PLT.C.3 Messages */
+/* --------------------------------- */
+.accessible .portlet-msg-status,
+.accessible .portlet-msg-info {
+ background: url(../images/icon_info_sml.gif);
+ background-repeat: no-repeat;
+ padding-left: 20px;
+ min-height: 15px;
+}
+
+.accessible .portlet-msg-error {
+ background: url(../images/icon_error_sml.gif);
+ background-repeat: no-repeat;
+ padding-left: 20px;
+ min-height: 15px;
+}
+
+.accessible .portlet-msg-alert {
+ background: url(../images/icon_warning_sml.gif);
+ background-repeat: no-repeat;
+ padding-left: 20px;
+ min-height: 15px;
+}
+
+.accessible .portlet-msg-success {
+ background: url(../images/icon_success_sml.gif);
+ background-repeat: no-repeat;
+ padding-left: 20px;
+ min-height: 15px;
+}
+
+/* font */
+.accessible .portlet-msg-status,
+.accessible .portlet-msg-info,
+.accessible .portlet-msg-error,
+.accessible .portlet-msg-alert,
+.accessible .portlet-msg-success
+{
+ font-family: Verdana, Helvetica, Arial, sans-serif;
+ voice-family: "\"}\"";
+ voice-family: inherit;
+ font-size: 10pt;
+}
+
+
+/* --------------------------------- */
+/* PLT.C.4 Sections */
+/* --------------------------------- */
+.accessible .portlet-section-header {
+ background-image:url(../images/header_background.gif);
+ background-repeat: repeat-x;
+ background-color:#90d0ff;
+ color: #fff;
+ padding: 5px;
+ margin-right: 2px;
+ margin-left: 2px;
+ clear: both;
+}
+
+.accessible .portlet-section-body {
+ background: #efefef;
+ border: none;
+ padding: 2px 3px;
+ text-align: left;
+ vertical-align: top;
+ text-align: left;
+}
+
+.accessible .portlet-section-alternate {
+ background: #ddd;
+ border: none;
+ padding: 2px 3px;
+ text-align: left;
+ vertical-align: top;
+ text-align: left;
+}
+
+.accessible .portlet-section-selected {
+ /* TODO : ex. change color */
+ background: #ffe;
+ border: none;
+ padding: 2px 3px;
+ text-align: left;
+ vertical-align: top;
+ text-align: left;
+ font-weight:bold;
+}
+
+.accessible .portlet-section-subheader {
+ background-image:url(../images/subheader_background.gif);
+ background-repeat: repeat-x;
+ background-color:#c0e0f0;
+ color: #0080b0;
+ padding: 5px;
+ margin-right: 2px;
+ margin-left: 2px;
+ clear: both;
+}
+
+.accessible .portlet-section-footer {
+ background-image:url(../images/footer_background.gif);
+ background-repeat: repeat-x;
+ background-color:#c0e0f0;
+ background-position: top left;
+ color: #0080b0;
+ padding: 5px;
+ margin-right: 2px;
+ margin-left: 2px;
+ clear: both;
+}
+
+.accessible .portlet-section-text {
+ padding: 1em;
+ padding-bottom: .3em;
+ padding-left: 1em;
+}
+
+/* font */
+.accessible .portlet-section-header,
+.accessible .portlet-section-body,
+.accessible .portlet-section-alternate,
+.accessible .portlet-section-selected,
+.accessible .portlet-section-subheader,
+.accessible .portlet-section-footer,
+.accessible .portlet-section-text
+{
+ font-family: Verdana, Helvetica, Arial, sans-serif;
+ voice-family: "\"}\"";
+ voice-family: inherit;
+ font-size: 10pt;
+}
+
+
+/* --------------------------------- */
+/* PLT.C.5 Forms */
+/* --------------------------------- */
+.accessible .portlet-form-label {
+}
+
+.accessible .portlet-form-input-field {
+ background-color:#90d0ff;
+}
+
+.accessible .portlet-form-button {
+ background-image:url(../images/button_background.gif);
+ background-color:#90d0ff;
+ color:#ffffff;
+
+ font-weight: bold;
+}
+
+.accessible .portlet-icon-label {
+}
+
+.accessible .portlet-dlg-icon-label {
+}
+
+.accessible .portlet-form-field-label {
+}
+
+.accessible .portlet-form-field {
+}
+
+/* font */
+.accessible .portlet-form-label,
+.accessible .portlet-form-input-field,
+.accessible .portlet-form-button,
+.accessible .portlet-icon-label,
+.accessible .portlet-dlg-icon-label,
+.accessible .portlet-form-field-label,
+.accessible .portlet-form-field
+{
+ font-family: Verdana, Helvetica, Arial, sans-serif;
+ voice-family: "\"}\"";
+ voice-family: inherit;
+ font-size: 10pt;
+}
+
+
+/* --------------------------------- */
+/* PLT.C.6 Menus */
+/* --------------------------------- */
+.accessible .portlet-menu {
+ background: #efefef;
+ margin-bottom: 6px;
+ border-right: 1px solid #aaa;
+ border-bottom: 1px solid #aaa;
+ padding: 4px 4px 4px 0;
+ padding-bottom: .3em;
+ padding-left: 1em;
+}
+
+.accessible .portlet-menu-item {
+ text-decoration: none;
+ color: blue;
+}
+
+.accessible .portlet-menu-item-selected {
+ text-decoration: none;
+ color: #555 !important;
+}
+
+.accessible .portlet-menu-item-hover {
+ text-decoration: none;
+ color: #f30 !important;
+}
+
+.accessible .portlet-menu-item-hover-selected {
+ text-decoration: none;
+ color: #555 !important;
+ font-weight: bold;
+}
+
+.accessible .portlet-menu-cascade-item {
+ text-decoration: none;
+ margin-top: .3em;
+ padding-bottom: 0;
+ color: blue;
+}
+
+.accessible .portlet-menu-cascade-item-selected {
+ text-decoration: none;
+ color: #555 !important;
+ font-weight: bold;
+}
+
+.accessible .portlet-menu-description {
+}
+
+.accessible .portlet-menu-caption {
+ border-bottom: 1px solid #666;
+ border-right: 1px solid #666;
+ background: #ddd;
+ color: #555;
+ padding: 4px;
+}
+
+/* font */
+.accessible .portlet-menu,
+.accessible .portlet-menu-item,
+.accessible .portlet-menu-item-selected,
+.accessible .portlet-menu-item-hover,
+.accessible .portlet-menu-item-hover-selected,
+.accessible .portlet-menu-cascade-item,
+.accessible .portlet-menu-cascade-item-selected,
+.accessible .portlet-menu-description,
+.accessible .portlet-menu-caption
+{
+ font-family: Verdana, Helvetica, Arial, sans-serif;
+ voice-family: "\"}\"";
+ voice-family: inherit;
+ font-size: 10pt;
+}
+
+
+/* --------------------------------- */
+/* PLT.C.6 Menus (arrowfolder style) */
+/* --------------------------------- */
+.accessible .arrowfolder .portlet-menu {
+ background: #efefef;
+ margin-bottom: 6px;
+ border-right: 1px solid #aaa;
+ border-bottom: 1px solid #aaa;
+ padding: 4px 4px 4px 0;
+ padding-bottom: .3em;
+ padding-left: 1em;
+}
+
+.accessible .arrowfolder .portlet-menu-item {
+ text-decoration: none;
+ color: blue;
+ padding-left: 34px;
+ background-image: url(../images/icon_arrowdoc_sml.gif);
+ background-repeat: no-repeat;
+
+}
+
+.accessible .arrowfolder .portlet-menu-item-selected {
+ text-decoration: none;
+ color: #555 !important;
+ padding-left: 34px;
+ background-image: url(../images/icon_arrowdoc_sml.gif);
+ background-repeat: no-repeat;
+}
+
+.accessible .arrowfolder .portlet-menu-item-hover {
+ text-decoration: none;
+ color: #f30 !important;
+ padding-left: 34px;
+ background-image: url(../images/icon_arrowdoc_sml.gif);
+ background-repeat: no-repeat;
+}
+
+.accessible .arrowfolder .portlet-menu-item-hover-selected {
+ text-decoration: none;
+ color: #555 !important;
+ font-weight: bold;
+ padding-left: 34px;
+ background-image: url(../images/icon_arrowdoc_sml.gif);
+ background-repeat: no-repeat;
+}
+
+.accessible .arrowfolder .portlet-menu-cascade-item {
+ text-decoration: none;
+ margin-top: .3em;
+ padding-bottom: 0;
+ color: blue;
+ padding-left: 34px;
+ background-image: url(../images/icon_arrowfolderclosed1_sml.gif);
+ background-repeat: no-repeat;
+}
+
+.accessible .arrowfolder .portlet-menu-cascade-item-selected {
+ text-decoration: none;
+ color: #555 !important;
+ font-weight: bold;
+ padding-left: 34px;
+ background-image: url(../images/icon_arrowfolderopen2_sml.gif);
+ background-repeat: no-repeat;
+}
+
+.accessible .arrowfolder .portlet-menu-description {
+}
+
+.accessible .arrowfolder .portlet-menu-caption {
+ border-bottom: 1px solid #666;
+ border-right: 1px solid #666;
+ background: #ddd;
+ color: #555;
+ padding: 4px;
+}
+
+/* font */
+.accessible .arrowfolder .portlet-menu,
+.accessible .arrowfolder .portlet-menu-item,
+.accessible .arrowfolder .portlet-menu-item-selected,
+.accessible .arrowfolder .portlet-menu-item-hover,
+.accessible .arrowfolder .portlet-menu-item-hover-selected,
+.accessible .arrowfolder .portlet-menu-cascade-item,
+.accessible .arrowfolder .portlet-menu-cascade-item-selected,
+.accessible .arrowfolder .portlet-menu-description,
+.accessible .arrowfolder .portlet-menu-caption
+{
+ font-family: Verdana, Helvetica, Arial, sans-serif;
+ voice-family: "\"}\"";
+ voice-family: inherit;
+ font-size: 10pt;
+}
+
+/* --------------------------------- */
+/* Tree component */
+/* --------------------------------- */
+
+.accessible .tree {
+ lineheight: 18px;
+ font-family: arial, sans-serif;
+}
+
+.accessible .tree-node {
+ padding: 2px 15px 2px 5px;
+}
+
+.accessible .tree-node a {
+ text-decoration: none;
+}
+
+.accessible .tree-node-selected {
+ padding: 2px 15px 2px 5px;
+}
+
+.accessible .tree-node-selected a {
+ text-decoration: none;
+ font-weight: bold;
+}
+
+/* --------------------------------- */
+/* Portlet Table */
+/* --------------------------------- */
+.accessible th, td, input {
+ font-family: Verdana, Helvetica, Arial, sans-serif;
+}
+
+.accessible table,
+.accessible th,
+.accessible td {
+ vertical-align: top;
+ font-size: 10pt;
+ border: none;
+ white-space: normal;
+ /* action buttons shifts right a few millimeters by the following */
+}
+
+.accessible th
+{
+ font-size: 11pt;
+}
+
+.accessible .portlet-table-header {
+ background-image:url(../images/header_background.gif);
+ background-repeat: repeat-x;
+ background-color:#90d0ff;
+ color: #fff;
+
+ border: 0.75px solid #fff;
+ padding: 2px 3px;
+ text-align: left;
+}
+
+.accessible .portlet-table-footer {
+ background-image:url(../images/footer_background.gif);
+ background-repeat: repeat-x;
+ background-color:#c0e0f0;
+ color: #0080b0;
+
+ font-size: 10pt;
+ padding: 5px;
+ margin: .67em 2px;
+ margin-top: 0;
+}
+
+
+.accessible .portlet-table-row1 td {
+ font-size: 10pt;
+ background: #ddd;
+ border-bottom: 1px solid #fff;
+}
+
+.accessible .portlet-table-row2 td {
+ font-size: 10pt;
+ background: #efefef;
+ border-bottom: 1px solid #fff;
+}
+
+.accessible .portlet-table-col1 {
+ border-right: 1px solid #fff;
+ padding: 2px 15px 2px 5px;
+}
+
+.accessible .portlet-table-col2 {
+ border-left: 1px solid #fff;
+ padding: 2px 15px 2px 5px;
+}
+
+/* --------------------------------- */
+/* Portlet Data Scroller Table */
+/* --------------------------------- */
+
+.accessible .portlet-scroller-grid td {
+ horizontal-align: center;
+}
+
+.accessible .portlet-scroller {
+ horizontal-align: center;
+}
+
+.accessible .portlet-paginator {
+ horizontal-align: center;
+}
+
+
Index: src/webapp/decorations/portlet/accessible/decorator.properties
===================================================================
--- src/webapp/decorations/portlet/accessible/decorator.properties (revision 0)
+++ src/webapp/decorations/portlet/accessible/decorator.properties (revision 0)
@@ -0,0 +1,19 @@
+# Copyright 2004 The Apache Software Foundation
+#
+# Licensed 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.
+
+id=accessible
+name=accessible
+template.type=velocity
+template.extension=.vm
+decorates=portlet
Index: src/webapp/decorations/layout/accessible/footer.vm
===================================================================
--- src/webapp/decorations/layout/accessible/footer.vm (revision 0)
+++ src/webapp/decorations/layout/accessible/footer.vm (revision 0)
@@ -0,0 +1,27 @@
+#*
+Copyright 2004 The Apache Software Foundation
+
+Licensed 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.
+*#
+
+
+