From 177a65f20e6dc056b3b024a7f1a363f33cf7cdab Mon Sep 17 00:00:00 2001 From: Kevin Roast Date: Wed, 19 Jul 2006 16:42:39 +0000 Subject: [PATCH] . Dashboards impl checkpoint - beginnings of the dashboard configuration wizard (layouts) - icons for various layouts (a bit of Photoshop fun) - working layouts for single column, 2 column left and right narrow, three column . Added "immediate" attribute to ActionLink component - same functionality as for standard JSF Command Button . Fixed Wizard container.jsp to use "immediate=true" on Cancel button git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3354 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- config/alfresco/messages/webclient.properties | 16 +- config/alfresco/web-client-config-wizards.xml | 24 +++ config/alfresco/web-client-config.xml | 8 +- .../web/bean/dashboard/DashboardManager.java | 6 +- .../web/bean/dashboard/DashboardWizard.java | 173 ++++++++++++++++++ .../web/config/DashboardsConfigElement.java | 9 +- .../web/ui/common/tag/ActionLinkTag.java | 11 +- source/web/WEB-INF/alfresco.tld | 6 + source/web/WEB-INF/faces-config-beans.xml | 37 ++++ source/web/css/main.css | 3 + .../web/images/icons/configure_dashboard.gif | Bin 0 -> 998 bytes .../icons/configure_dashboard_large.gif | Bin 0 -> 1488 bytes .../icons/layout_narrow_left_2column.gif | Bin 0 -> 840 bytes .../icons/layout_narrow_right_2column.gif | Bin 0 -> 841 bytes .../web/images/icons/layout_single_column.gif | Bin 0 -> 807 bytes .../web/images/icons/layout_three_column.gif | Bin 0 -> 866 bytes source/web/jsp/dashboards/container.jsp | 3 + .../layouts/narrow-right-2column.jsp | 2 +- .../jsp/dashboards/layouts/single-column.jsp | 2 +- .../jsp/dashboards/layouts/three-column.jsp | 2 +- source/web/jsp/parts/titlebar.jsp | 2 +- source/web/jsp/wizard/container.jsp | 2 +- 22 files changed, 288 insertions(+), 18 deletions(-) create mode 100644 source/java/org/alfresco/web/bean/dashboard/DashboardWizard.java create mode 100644 source/web/images/icons/configure_dashboard.gif create mode 100644 source/web/images/icons/configure_dashboard_large.gif create mode 100644 source/web/images/icons/layout_narrow_left_2column.gif create mode 100644 source/web/images/icons/layout_narrow_right_2column.gif create mode 100644 source/web/images/icons/layout_single_column.gif create mode 100644 source/web/images/icons/layout_three_column.gif diff --git a/config/alfresco/messages/webclient.properties b/config/alfresco/messages/webclient.properties index dcfec20cce..915e1a49f6 100644 --- a/config/alfresco/messages/webclient.properties +++ b/config/alfresco/messages/webclient.properties @@ -854,7 +854,19 @@ dashboard_info=My Alfresco Dashboard dashboard_description=Configure this view and build your personal Alfresco dashboard configure=Configure -# My Alfresco Dashlets messages +# My Alfresco Layout Manager wizard messages +configure_dashboard_title=Configure Dashboard Wizard +configure_dashboard_desc=This wizard helps you configure your dashboard layout and contents +step_layout=Layout +configure_dashboard_step1_title=Step One - Select Layout +configure_dashboard_step1_desc=Choose the layout and number of columns for your dashboard. +step_columns=Components +configure_dashboard_step2_title=Step Two - Select Components +configure_dashboard_step2_desc=Select the components for your dashboard and add them to the columns. +configure_dashboard_finish_instruction=To save the dashboard configuration click Finish. To review or change your selections click Back. +select_layout=Select the style of layout for your dashboard. + +# My Alfresco Layouts messages layout_single_label=Single Column layout_single_desc=This layout displays components in a single column the full width of the page layout_narrow_left_label=Two Column Narrow Left @@ -863,6 +875,8 @@ layout_narrow_right_label=Two Column Narrow Right layout_narrow_right_desc=This layout display components in two columns with a narrow right hand column layout_three_column_label=Three Column layout_three_column_desc=This layout displays components across three columns of equal width + +# My Alfresco Dashlet components messages dashlet_gettingstarted_label=Getting Started dashlet_gettingstarted_desc=This component displays helpful information and links for getting started with the Alfresco web-client application diff --git a/config/alfresco/web-client-config-wizards.xml b/config/alfresco/web-client-config-wizards.xml index 638d499e6b..a3aad002c2 100644 --- a/config/alfresco/web-client-config-wizards.xml +++ b/config/alfresco/web-client-config-wizards.xml @@ -158,6 +158,30 @@ + + + + + + + + + + + + + diff --git a/config/alfresco/web-client-config.xml b/config/alfresco/web-client-config.xml index c60cac453b..f4f1690fd2 100644 --- a/config/alfresco/web-client-config.xml +++ b/config/alfresco/web-client-config.xml @@ -166,16 +166,16 @@ - - - - diff --git a/source/java/org/alfresco/web/bean/dashboard/DashboardManager.java b/source/java/org/alfresco/web/bean/dashboard/DashboardManager.java index 5f3d66c367..e88f7fc33e 100644 --- a/source/java/org/alfresco/web/bean/dashboard/DashboardManager.java +++ b/source/java/org/alfresco/web/bean/dashboard/DashboardManager.java @@ -42,8 +42,8 @@ public final class DashboardManager private static Log logger = LogFactory.getLog(DashboardManager.class); private static final String PREF_DASHBOARD = "dashboard"; - private static final String LAYOUT_DEFAULT = "default"; - private static final String DASHLET_DEFAULT = "getting-started"; + static final String LAYOUT_DEFAULT = "default"; + static final String DASHLET_DEFAULT = "getting-started"; private static final String JSP_DUMMY = "/jsp/dashboards/dummy.jsp"; @@ -202,7 +202,7 @@ public final class DashboardManager /** * @return The externally configured WebClient config element for the Dashboards */ - private static DashboardsConfigElement getDashboardConfig() + public static DashboardsConfigElement getDashboardConfig() { ConfigService service = Application.getConfigService(FacesContext.getCurrentInstance()); DashboardsConfigElement config = (DashboardsConfigElement)service.getConfig("Dashboards").getConfigElement( diff --git a/source/java/org/alfresco/web/bean/dashboard/DashboardWizard.java b/source/java/org/alfresco/web/bean/dashboard/DashboardWizard.java new file mode 100644 index 0000000000..3c031cbcfc --- /dev/null +++ b/source/java/org/alfresco/web/bean/dashboard/DashboardWizard.java @@ -0,0 +1,173 @@ +/* + * 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 java.util.ArrayList; +import java.util.Iterator; +import java.util.List; +import java.util.Map; + +import javax.faces.context.FacesContext; + +import org.alfresco.web.app.Application; +import org.alfresco.web.bean.wizard.BaseWizardBean; +import org.alfresco.web.config.DashboardsConfigElement; +import org.alfresco.web.config.DashboardsConfigElement.DashletDefinition; +import org.alfresco.web.config.DashboardsConfigElement.LayoutDefinition; +import org.alfresco.web.ui.common.component.UIListItem; +import org.alfresco.web.ui.common.component.description.UIDescription; + +/** + * @author Kevin Roast + */ +public class DashboardWizard extends BaseWizardBean +{ + /** List of icons items to display as selectable Layout definitions */ + private List layoutIcons = null; + + /** List of descriptions of the layouts */ + private List layoutDescriptions= null; + + /** Currently selected layout */ + private String layout = DashboardManager.LAYOUT_DEFAULT; + + + // ------------------------------------------------------------------------------ + // Wizard implementation + + /** + * @see org.alfresco.web.bean.dialog.BaseDialogBean#init(java.util.Map) + */ + public void init(Map parameters) + { + super.init(parameters); + + + } + + /** + * @see org.alfresco.web.bean.dialog.BaseDialogBean#finishImpl(javax.faces.context.FacesContext, java.lang.String) + */ + protected String finishImpl(FacesContext context, String outcome) throws Exception + { + return null; + } + + /** + * @return Returns the summary data for the wizard. + */ + public String getSummary() + { + LayoutDefinition def = DashboardManager.getDashboardConfig().getLayoutDefinition(this.layout); + String label = def.Label; + if (label == null || label.length() == 0) + { + label = Application.getMessage(FacesContext.getCurrentInstance(), def.LabelId); + } + return buildSummary( + new String[]{"Layout"}, + new String[]{label}); + } + + + // ------------------------------------------------------------------------------ + // Dashboard Wizard bean getters + + /** + * @return The currently selected layout ID - used by the Dynamic Description component + */ + public String getLayout() + { + // TODO: implement - need current PageConfig from DashboardManager + return this.layout; + } + + /** + * Set the currently selected layout ID + */ + public void setLayout(String layout) + { + this.layout = layout; + } + + /** + * @return List of UIDescription objects for the available layouts + */ + public List getLayoutDescriptions() + { + if (this.layoutDescriptions == null) + { + buildLayoutValueLists(); + } + return this.layoutDescriptions; + } + + /** + * @return the List of UIListItem objects representing the Layout icons + */ + public List getLayoutIcons() + { + if (this.layoutIcons == null) + { + buildLayoutValueLists(); + } + return this.layoutIcons; + } + + private void buildLayoutValueLists() + { + List icons = new ArrayList(4); + List descriptions = new ArrayList(4); + + FacesContext context = FacesContext.getCurrentInstance(); + + DashboardsConfigElement config = DashboardManager.getDashboardConfig(); + Iterator layoutItr = config.getLayouts().iterator(); + while (layoutItr.hasNext()) + { + LayoutDefinition layoutDef = layoutItr.next(); + + // build UIListItem to represent the layout image + String label = layoutDef.Label; + if (label == null || label.length() == 0) + { + label = Application.getMessage(context, layoutDef.LabelId); + } + String desc = layoutDef.Description; + if (desc == null || desc.length() == 0) + { + desc = Application.getMessage(context, layoutDef.DescriptionId); + } + UIListItem item = new UIListItem(); + item.setLabel(label); + item.setTooltip(desc); + item.setValue(layoutDef.Id); + // set the special attribute used by the imageRadioPicker component + item.getAttributes().put("image", layoutDef.Image); + icons.add(item); + + // build UIDescription to represent the layout description text + UIDescription description = new UIDescription(); + description.setControlValue(layoutDef.Id); + description.setText(desc); + descriptions.add(description); + } + + this.layoutIcons = icons; + this.layoutDescriptions = descriptions; + } +} diff --git a/source/java/org/alfresco/web/config/DashboardsConfigElement.java b/source/java/org/alfresco/web/config/DashboardsConfigElement.java index 3a3efc89ac..d35e0256e5 100644 --- a/source/java/org/alfresco/web/config/DashboardsConfigElement.java +++ b/source/java/org/alfresco/web/config/DashboardsConfigElement.java @@ -16,6 +16,7 @@ */ package org.alfresco.web.config; +import java.util.Collection; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.List; @@ -99,14 +100,14 @@ public class DashboardsConfigElement extends ConfigElementAdapter return this.dashletDefs.get(id); } - public Iterator getLayouts() + public Collection getLayouts() { - return this.layoutDefs.entrySet().iterator(); + return this.layoutDefs.values(); } - public Iterator getDashlets() + public Collection getDashlets() { - return this.dashletDefs.entrySet().iterator(); + return this.dashletDefs.values(); } /** diff --git a/source/java/org/alfresco/web/ui/common/tag/ActionLinkTag.java b/source/java/org/alfresco/web/ui/common/tag/ActionLinkTag.java index 979872f661..e3931a3a86 100644 --- a/source/java/org/alfresco/web/ui/common/tag/ActionLinkTag.java +++ b/source/java/org/alfresco/web/ui/common/tag/ActionLinkTag.java @@ -57,7 +57,7 @@ public class ActionLinkTag extends HtmlComponentTag setStringProperty(component, "value", this.value); setStringProperty(component, "target", this.target); setStringProperty(component, "onclick", this.onclick); - + setBooleanProperty(component, "immediate", this.immediate); // TODO: Add image width/height properties } @@ -77,6 +77,7 @@ public class ActionLinkTag extends HtmlComponentTag this.href = null; this.target = null; this.onclick = null; + this.immediate = null; } /** @@ -178,6 +179,11 @@ public class ActionLinkTag extends HtmlComponentTag { this.onclick = onclick; } + + public void setImmediate(String immediate) + { + this.immediate = immediate; + } /** the target */ private String target; @@ -208,4 +214,7 @@ public class ActionLinkTag extends HtmlComponentTag /** the onclick handler */ private String onclick; + + /** the immediate flag */ + private String immediate; } diff --git a/source/web/WEB-INF/alfresco.tld b/source/web/WEB-INF/alfresco.tld index 6d3d9e2a23..cf592f757b 100644 --- a/source/web/WEB-INF/alfresco.tld +++ b/source/web/WEB-INF/alfresco.tld @@ -657,6 +657,12 @@ false true + + + immediate + false + true + diff --git a/source/web/WEB-INF/faces-config-beans.xml b/source/web/WEB-INF/faces-config-beans.xml index 2dcdcba704..d82e782803 100644 --- a/source/web/WEB-INF/faces-config-beans.xml +++ b/source/web/WEB-INF/faces-config-beans.xml @@ -1443,6 +1443,43 @@ org.alfresco.web.bean.dashboard.DashboardManager session + + + + The bean that backs up the Dashboard Config Wizard + + DashboardWizard + org.alfresco.web.bean.dashboard.DashboardWizard + session + + nodeService + #{NodeService} + + + fileFolderService + #{FileFolderService} + + + searchService + #{SearchService} + + + navigator + #{NavigationBean} + + + browseBean + #{BrowseBean} + + + dictionaryService + #{DictionaryService} + + + namespaceService + #{NamespaceService} + + diff --git a/source/web/css/main.css b/source/web/css/main.css index 49419161fc..0eb69f1082 100644 --- a/source/web/css/main.css +++ b/source/web/css/main.css @@ -492,16 +492,19 @@ a.topToolbarLinkHighlight, a.topToolbarLinkHighlight:link, a.topToolbarLinkHighl .tableThirdWidth { width: 33%; + vertical-align: top; } .tableNarrowWidth { width: 30%; + vertical-align: top; } .tableWideWidth { width: 70%; + vertical-align: top; } .summaryPopupPanel diff --git a/source/web/images/icons/configure_dashboard.gif b/source/web/images/icons/configure_dashboard.gif new file mode 100644 index 0000000000000000000000000000000000000000..d79e1a233b4d5dc65148527de1fbd97c903df36b GIT binary patch literal 998 zcmZ?wbhEHb6krfw_|CwvT}=FbWYnqr!dnT++mbU6q!*s)nY6!m_PXY2JEyK(xc*@F zqEjY|?p5!+XSMF7+paGTtM0jPcp7&2Z|MFX!FxVN9{65<;eY9|k25cSn1A7g^|rU} zdp<{=_!GMCqwktq(MP^VANmr$>s8$GU-8F&WE}liaPeQ!k=K>yzBU|s(0|~X$I)NG zXa0wt`ya9EaoC0{b1uIsI{YB@;GL3lS96XWUvcD6*!IP(7dEfkxh3~dQ_K0u)r)E} zcEmLuEy-FCS+}}i^_h7Vtr9L1RN|+4R;*0Y%H;8!sOsLYTD?84ZB23ahDxn;PTgD{ z{Y?IVNqP*lg+XR+&Ka_Hr7>Sl2J&r;GzW-8p~+OjsQ zbc;vtj{K=x>J1AStZP{}$5(%k)xi>m-D?N{Sqk z5#K2-wnIblp0UnjN1M|gPKV;655~tF%Fo>+$ah*yxvOBcy4^awqVL jT8EG}vm~RI^OH^oXNGGGg-sXyX0>Fs-HDMEV6X-N$+sry literal 0 HcmV?d00001 diff --git a/source/web/images/icons/configure_dashboard_large.gif b/source/web/images/icons/configure_dashboard_large.gif new file mode 100644 index 0000000000000000000000000000000000000000..336f7967ddfcc879f6ccecececb4bd6a8cbe9233 GIT binary patch literal 1488 zcmV;>1uyzXNk%w1VITk?0QUd@vmqkFEib|^FuX1==xJ;FcX-ZdYSVgr*Mf!YijdNi zmfwhw)0m{vsj-}#uCTMpgR|C4vExp*=~cb)RlDs}xanBF@msrY9S;F;M!17(g^k2sIU&Z!b#Pnds_g%p7VZ`)f$oF2o z>1WCKUby3Dz2kJl=qaq?GPCG5ujE6$?>L^vM!xYvqRLRd?N-F}ORUvWy5m>0+EuO6 zXvgl1&FQV!=~K)3R>}2O!Rlno^JurzjKkQg%+*@9%5J>LdceVU!M%#iv!&OlnZ}l* z)|h*$ZHcpZU9>k=t}0QcC{(K|QmHCpyEvKQcdO!(mbQm5dI%|H2s3aIGHnqvZxSt!N zqG3qRrk|=349FG_trZcr7!$e~6|oo;t{4=t8Wpn}7PlQ3u^SiJBpu5k8?qi5yC56E zAspN(A;lveyCNOLBp<9G8^k6cz$72PBOkOO9kL-E!X_ZXB_O~hAi5wrlookx4}75g|Wf0{?3_jTpCkw#Xoo|N)CX4g| zh624@gXuE!$ifLFihvqO9s;ecbIdl`RI^L~r4-W0W{^zsj{?DPqm4Ds)Due?iSYVr ztn!GK%`yVyx~pb=2*gV_v|3{hd}Mft9Dc)uy}DrMlCoyw#_>)TX-ArMc3o zzSgR|)40pyk)N@TovxLmw3wx}m!!0rrnb4p*0{saw!zN1!_U3P)4aygyT#Ga)Y)i~ z!gr(AUvr9ahoEJ6j%$9CYkiV!f0L%X)ug%6qqxwgyws+<)0n2Vm!-9tr?;G`xV*~Q zw!+W4#nHLM(7ngf$k5rw&)CP$*UHk`$uq|4IR%GBC` zlby`m3J@bzE#?FiT7gH8KrNG%_3QNiEvj+rtV8 z85=$j92yuS9T5*d7Z(;5?(gpv^!27+Rb5wDR9047J+wT@5e3H$9Xz1$kfI~X4jnqC zOo@00kHw1^Giuy;@eTq4AVZ2ANwOqJ1YW>^@xrp@%9b!=%2bK+zyU9U1bMlcv!_p= zI}e})AO>enFK3MYT&fcQ0F-Bv_ViMesa2$BP!=elG>#XpR+)Y+fFQ`$u3x)`J-W5* znl)&p!L9}R)-Bwra_1hc8{{q8yL$JoDLY`mU$t|+6eesqrs2Rx3mXWcrm|(rh}U|l zJUL4inV%u+6d=Gr7}973WDe_vwCOaer^XiDx^$Q{Y0&1D$vY-)({tva4Nknc@#DdP z3!fUGw{w;O0+^1Dwz+7p(M_X4gO>YsFWXJak%N}}_wnM%$5j8EH~KK+A`mZ literal 0 HcmV?d00001 diff --git a/source/web/images/icons/layout_narrow_right_2column.gif b/source/web/images/icons/layout_narrow_right_2column.gif new file mode 100644 index 0000000000000000000000000000000000000000..b129f738bc3d2262a6cdf0ce51ec6f66091546b0 GIT binary patch literal 841 zcmV-P1GfA}Nk%w1VITk?0OkMy)YRbg^!)7X^yK91zr)bj+~-GDcFfe|PGyOMtKpBa z-B@ghXnBvArM8x%v~r!$aGK0@pVLKKcST%xMO$`ft9Dc)uy}DrMlCoyw#_>)TX-ArMc3o zzSgR|)40pyk)N@TovxLmw3wx}m!!0rrnb4p*0{saw!zN1!_U3P)4aygyT#Ga)Y)i~ z!gr(AUvr9ahoEJ6j%$9CYkiV!f0L%X)ug%6qqxwgyws+<)0n2Vm!-9tr?;G`xV*~Q zw!+W4#nHLM(7ngf$k5rw&)CP$*UHk`$uq|4IR%GBC` zlby`m3J@bzE#?FiT7gH8KrNG%_3QNiEvj+rtV8 z85=$j92yuS9T5*d7Z(;5?(gpv^!27+Rb5wDR9047J+wT@5e3H$9Xz1$kfI~X4jnqC zOo@00kHw1^Giuy;@eTq4AVZ2ANwOqJ1YW>^@xrpD%a<-!zEp|wzyU9Ua_Zcf)5}er zJ`bP-001Y?qdm_U734(>0F-BxBAwcFX&f(6Q5Gm*bt+JH=9uY2|K9WdZ8Rl7Y2k0opvsh7ep2^$EaMor_RUMg$e zJXwH%%XqWE%#y`G7|)=0dif00vuV_KRkQ9XAdTrXX<+JxnHwl>({q9gA5OgZ9KFF! z2MDmcIZNh1lZRQJ8YuLh%T1#}Q@tm5pxaH$k<*<~izrKC> T2H?2a&%eL_{{Zd>M<4(@N#(nb literal 0 HcmV?d00001 diff --git a/source/web/images/icons/layout_single_column.gif b/source/web/images/icons/layout_single_column.gif new file mode 100644 index 0000000000000000000000000000000000000000..b02e7269e201e5481e61bbe684482a7a329290ad GIT binary patch literal 807 zcmV+?1K9jWNk%w1VITk?0OkMy)YRbg^!)7X^yK91zr)bj+~-GDcFfe|PGyOMtKpBa z-B@ghXnBvArM8x%v~r!$aGK0@pVLKKcST%xMO$`ft9Dc)uy}DrMlCoyw#_>)TX-ArMc3o zzSgR|)40pyk)N@TovxLmw3wx}m!!0rrnb4p*0{saw!zN1!_U3P)4aygyT#Ga)Y)i~ z!gr(AUvr9ahoEJ6j%$9CYkiV!f0L%X)ug%6qqxwgyws+<)0n2Vm!-9tr?;G`xV*~Q zw!+W4#nHLM(7ngf$k5rw&)CP$*UHk`$uq|4IR%GBC` zlby`m3J@bzE#?FiT7gH8KrNG%_3QNiEvj+rtV8 z85=$j92yuS9T5*d7Z(;5?(gpv^!27+Rb5wDR9047J+wT@5e3H$9Xz1$kfI~X4jnqC zOo@00kHw1^Giuy;@eTq4AVZ2ANwOqJ1YW>^@xrpD%a<@;sziCn85H)J{Dt?LBumAyU<;L-nC5wSDk0ZcgW3#>-AOPycv%}QZ+}2C&%V^N>HtQw$WjS(& lfAxa=c=FqOn}ft9Dc)uy}DrMlCoyw#_>)TX-ArMc3o zzSgR|)40pyk)N@TovxLmw3wx}m!!0rrnb4p*0{saw!zN1!_U3P)4aygyT#Ga)Y)i~ z!gr(AUvr9ahoEJ6j%$9CYkiV!f0L%X)ug%6qqxwgyws+<)0n2Vm!-9tr?;G`xV*~Q zw!+W4#nHLM(7ngf$k5rw&)CP$*UHk`$uq|4IR%GBC` zlby`m3J@bzE#?FiT7gH8KrNG%_3QNiEvj+rtV8 z85=$j92yuS9T5*d7Z(;5?(gpv^!27+Rb5wDR9047J+wT@5e3H$9Xz1$kfI~X4jnqC zOo@00kHw1^Giuy;@eTq4AVZ2ANwOqJ1YW>^@xrnt%atx;!gQ$;<$(iU1nG?91?SG4 zJ#*^pc>pB<078Kx{W
+ + + diff --git a/source/web/jsp/dashboards/layouts/narrow-right-2column.jsp b/source/web/jsp/dashboards/layouts/narrow-right-2column.jsp index 9ba8d8842a..d587b95438 100644 --- a/source/web/jsp/dashboards/layouts/narrow-right-2column.jsp +++ b/source/web/jsp/dashboards/layouts/narrow-right-2column.jsp @@ -21,7 +21,7 @@ <%@ page import="org.alfresco.web.app.Application" %> - + <% Application.getDashboardManager().initDashboard(); %> <% Application.getDashboardManager().initDashboard(); %> - + diff --git a/source/web/jsp/dashboards/layouts/three-column.jsp b/source/web/jsp/dashboards/layouts/three-column.jsp index 71fc017b9a..677b41158f 100644 --- a/source/web/jsp/dashboards/layouts/three-column.jsp +++ b/source/web/jsp/dashboards/layouts/three-column.jsp @@ -21,8 +21,8 @@ <%@ page import="org.alfresco.web.app.Application" %> -<%=Application.getDashboardManager()...%> + <% Application.getDashboardManager().initDashboard(); %> diff --git a/source/web/jsp/parts/titlebar.jsp b/source/web/jsp/parts/titlebar.jsp index 01840f1308..cc014227a7 100644 --- a/source/web/jsp/parts/titlebar.jsp +++ b/source/web/jsp/parts/titlebar.jsp @@ -64,7 +64,7 @@   - + diff --git a/source/web/jsp/wizard/container.jsp b/source/web/jsp/wizard/container.jsp index 64d64be191..fdaa72d1b4 100644 --- a/source/web/jsp/wizard/container.jsp +++ b/source/web/jsp/wizard/container.jsp @@ -163,7 +163,7 @@ + action="#{WizardManager.cancel}" immediate="true" />