Enabling the Organize Favorites feature in custom themes
来源:互联网 发布:mac mysql dmg 网盘 编辑:程序博客网 时间:2024/05/22 10:29
The My Favorites feature in IBM® WebSphere® Portal lets you bookmark a page in the portal so that you can return to it at a later time. The page is then added to your My Favorites list, which is maintained by the Organize Favorites portlet. Organize Favorites lets you create, edit, activate, order, and delete labels and web addresses in the My Favorites list.
Nodes are located in a level of the navigation hierarchy relative to the parent node in which they are created. The topmost node in the tree is the Content Root. Organize Favorites is a node under the Content Root node.
By default, users without administrative privileges can only access nodes under the Home node, which is also under the Content Root node. Users with administrative privileges can use links in the toolbar to toggle between Administration and Home. If other nodes are created directly under the Content Root, links to these nodes are not referred to unless they are specifically added to one of the theme JSPs.
After you create the custom theme, complete the steps below to enable Organize Favorites in it:
Nodes are located in a level of the navigation hierarchy relative to the parent node in which they are created. The topmost node in the tree is the Content Root. Organize Favorites is a node under the Content Root node.
By default, users without administrative privileges can only access nodes under the Home node, which is also under the Content Root node. Users with administrative privileges can use links in the toolbar to toggle between Administration and Home. If other nodes are created directly under the Content Root, links to these nodes are not referred to unless they are specifically added to one of the theme JSPs.
After you create the custom theme, complete the steps below to enable Organize Favorites in it:
- Use the <portal-navigation:navigation> tag with the scopeUniqueName attribute as wps.p.Favorites to create the links to the Favorites in the theme. This replaces the<portal:favoritesLoop/> tag for enabling Organize Favorites functionality.
- Create a URL to Organize Favorites in the theme using the <portal-navigation:urlGeneration> tag towps.OrganizeFavorites.
- Create a My Favorite label to store the favorites by performing the following steps:
- Click Administration -> Portal User Interface ->Manage Pages.
- Click the Content Root label title.
- Under the Content Root label, click New Label.
- Create a label called My Favorites.
- Edit Page Properties for the new label, and add a page parameter key of Favorites with a value ofYes.
- Click Set Page Permission for the new label, edit the privileged user role, and add theAll Authenticated Portal Users user group. Then click OK.
- Click Portal Settings and then Custom Unique Names.
- Assign wps.My Favorites as a unique name to the My Favorites label you just created and then clickOK.
- To create a link in your theme that lets users access the Organize Favorites portlet:
- Open the Default.jsp file for each theme that your portal uses.
- Finding theme resources: See the Location of theme resources link below.
- .
- Add the following where you want the link to appear:
<portal-navigation:urlGeneration actionName="myAction"
contentNode="wps.Organize Favorites">
<a href="<%wpsURL.write(out);%>">Link to Organize Favorites</a>
</portal-navigation:urlGeneration>
- Open the Default.jsp file for each theme that your portal uses.
- Restart the portal server to load the updated Default.jsp file.
- Add <portal-logic:if/> tags with the pageBookmarkable attribute set totrue to pages that you want to be able to bookmark.
- Enabling the Organize Favorites feature in custom themes
- How to organize the Template Files in C++
- eclipse tips: useful content assist favorites feature
- Enabling gzip compression in the IBM HTTP Server
- Organize resource in Android
- Feature: High Memory In The Linux Kernel
- Feature: High Memory In The Linux Kernel
- favorites
- Favorites
- Favorites
- Using Themes in Silverlight
- Resolving the Unknown: Building Custom XmlResolvers in the .NET Framework
- The Eclipse Color Themes
- Enabling .NET 3.5 in SharePoint 2007 Sites, the Lazy Way{转载}
- the error concealment feature feature in the H.26L test model
- Enabling Tracing in Your Application
- HTML5 enabling script In MSIE
- indonesia poker online where the favorites
- 类加载器与代理
- wince与linux的比较(摘录)
- 十月百度,阿里巴巴,迅雷搜狗最新面试七十题(第201-270题) .
- 注意类型
- 开发人员流失之痛和团队重建之困 .
- Enabling the Organize Favorites feature in custom themes
- 有源 232 中继器 ,多机232 通信必备
- VC小菜之给软件添加背景音乐
- Java Threads 多线程10分钟参考手册 .
- 模仿网易新闻客户端(RSS版)
- 循环语句小结
- js骰子游戏
- 过滤器编码
- 关于java方法的重载(Overloading),覆写(Override)以及final 方法的几点说明