diff --git a/config/alfresco/messages/webclient.properties b/config/alfresco/messages/webclient.properties index 8867ab1e68..0e71668592 100644 --- a/config/alfresco/messages/webclient.properties +++ b/config/alfresco/messages/webclient.properties @@ -894,6 +894,21 @@ layout_three_column_desc=This layout displays components across three columns of # My Alfresco Dashlet components messages dashlet_gettingstarted_label=Getting Started dashlet_gettingstarted_desc=Displays helpful information for getting started with the Alfresco web-client +gettingstarted_commontasks=Common Tasks +gettingstarted_browse=Browse items in your home space +gettingstarted_browse_desc=From the toolbar click My Home to display a list of items in the space. +gettingstarted_createspace=Create a space in your home space +gettingstarted_createspace_desc=Navigate to your home space. In the space info area, from the menu under Create, click Create Space and enter information about the space. +gettingstarted_addcontent=Add content to your home space +gettingstarted_addcontent_desc=Navigate to your home space. In the space info area, click Add Content and enter information about the content to be uploaded. +gettingstarted_createcontent=Create content in your home space +gettingstarted_createcontent_desc=Navigate to your home space. In the space info area, click Create Content under Create and enter information about the content to be created. +gettingstarted_demonstration=Demonstration +gettingstarted_demonstration_desc=Watch a demonstration of how Alfresco can be used to create a marketing launch. +gettingstarted_featuretour=Feature Tour +gettingstarted_featuretour_desc=Take a tour of some of the key features in Alfresco. +gettingstarted_onlinehelp=Online Help +gettingstarted_onlinehelp_desc=Click the help icon to display Alfresco Help topics. # User Console and Settings messages title_user_console=User Options diff --git a/source/java/org/alfresco/web/bean/dashboard/GettingStartedBean.java b/source/java/org/alfresco/web/bean/dashboard/GettingStartedBean.java new file mode 100644 index 0000000000..11cbb1fd6f --- /dev/null +++ b/source/java/org/alfresco/web/bean/dashboard/GettingStartedBean.java @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2005 Alfresco, Inc. + * + * Licensed under the Mozilla Public License version 1.1 + * with a permitted attribution clause. You may obtain a + * copy of the License at + * + * http://www.alfresco.org/legal/license.txt + * + * 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. + */ +package org.alfresco.web.bean.dashboard; + +import javax.faces.context.FacesContext; + +import org.alfresco.web.app.Application; +import org.alfresco.web.bean.NavigationBean; + +/** + * Backing bean for the Getting Started Dashlet page. + * + * @author Kevin Roast + */ +public class GettingStartedBean +{ + private NavigationBean navigationBean; + + + /** + * @param navigationBean The navigationBean to set. + */ + public void setNavigationBean(NavigationBean navigationBean) + { + this.navigationBean = navigationBean; + } + + public String browseHomeSpace() + { + this.navigationBean.setCurrentNodeId(getHomeSpaceId()); + return "browse"; + } + + public String createSpace() + { + this.navigationBean.setCurrentNodeId(getHomeSpaceId()); + return "dialog:createSpace"; + } + + public String createContent() + { + this.navigationBean.setCurrentNodeId(getHomeSpaceId()); + return "wizard:createContent"; + } + + public String addContent() + { + this.navigationBean.setCurrentNodeId(getHomeSpaceId()); + return "addContent"; + } + + private String getHomeSpaceId() + { + return Application.getCurrentUser(FacesContext.getCurrentInstance()).getHomeSpaceId(); + } +} diff --git a/source/web/WEB-INF/faces-config-beans.xml b/source/web/WEB-INF/faces-config-beans.xml index 39e4318fdb..5cfccdab15 100644 --- a/source/web/WEB-INF/faces-config-beans.xml +++ b/source/web/WEB-INF/faces-config-beans.xml @@ -1914,6 +1914,19 @@ + + + The bean that backs up the Getting Started Dashlet page + + GettingStartedBean + org.alfresco.web.bean.dashboard.GettingStartedBean + session + + navigationBean + #{NavigationBean} + + + diff --git a/source/web/WEB-INF/faces-config-navigation.xml b/source/web/WEB-INF/faces-config-navigation.xml index 669286e050..87ecf8cdc0 100644 --- a/source/web/WEB-INF/faces-config-navigation.xml +++ b/source/web/WEB-INF/faces-config-navigation.xml @@ -57,6 +57,10 @@ dashboard /jsp/browse/dashboard.jsp + + addContent + /jsp/content/add-content-dialog.jsp + @@ -97,10 +101,6 @@ /jsp/browse/browse.jsp - - addContent - /jsp/content/add-content-dialog.jsp - checkoutFile diff --git a/source/web/images/icons/gettingstarted_browse.gif b/source/web/images/icons/gettingstarted_browse.gif new file mode 100644 index 0000000000..e8a16d91d1 Binary files /dev/null and b/source/web/images/icons/gettingstarted_browse.gif differ diff --git a/source/web/images/icons/gettingstarted_demonstration.gif b/source/web/images/icons/gettingstarted_demonstration.gif new file mode 100644 index 0000000000..5a09ca0072 Binary files /dev/null and b/source/web/images/icons/gettingstarted_demonstration.gif differ diff --git a/source/web/images/icons/gettingstarted_featuretour.gif b/source/web/images/icons/gettingstarted_featuretour.gif new file mode 100644 index 0000000000..5a09ca0072 Binary files /dev/null and b/source/web/images/icons/gettingstarted_featuretour.gif differ diff --git a/source/web/images/icons/gettingstarted_onlinehelp.gif b/source/web/images/icons/gettingstarted_onlinehelp.gif new file mode 100644 index 0000000000..5a09ca0072 Binary files /dev/null and b/source/web/images/icons/gettingstarted_onlinehelp.gif differ diff --git a/source/web/jsp/dashboards/dashlets/getting-started.jsp b/source/web/jsp/dashboards/dashlets/getting-started.jsp index f7dd0ffa14..b54487ccc1 100644 --- a/source/web/jsp/dashboards/dashlets/getting-started.jsp +++ b/source/web/jsp/dashboards/dashlets/getting-started.jsp @@ -24,33 +24,78 @@ <% PanelGenerator.generatePanelStart(out, request.getContextPath(), "yellow", "#ffffcc"); %> - - - - + + + - - - - -
- -
-
+ + + + +
+ +
+
- - - - -
- -
+ + + + +
+ +
+
+ + + + + +
+ +
+
- - + + + + + + +
+ +
+
+ + + + + +
+ +
+
+ + + + + +
+ +
+
+ + + + + +
+ +
+
+
<% PanelGenerator.generatePanelEnd(out, request.getContextPath(), "yellow"); %>