[中英]Liferay Portal 3.6新特性

来源:百度文库 编辑:神马文学网 时间:2024/05/23 18:35:59
You spoke and we listened. A host of new features makes the latest version of Liferay Portal more flexible than ever before. Hot-deployable themes, flexible portlet layouts, portlet instancing, internationalized content management, and more. It‘s all available to you in Liferay Portal 3.6.
您要求的,我们做到了。新版Liferay Portal集成许多新特性将使得系统比从前更加灵活方便。在线装配主题(Hot-deployable themes)、自由门户单元排版(flexible portlet layouts)、门户单元多实例化(portlet instancing)、国际化内容管理(internationalized content management)等等,这些都在新的3.6版中梦想成了现实。
Hot-Deployable Themes
在线装配主题
Liferay Portal 3.6 allows you to hot-deploy* themes as .war files so you can change your portal‘s look-and-feel on the fly without restarting the server. Theme templates can support any layout imaginable and can be written in jsp or Velocity (VM) languages.
Liferay Portal 3.6中可以在线实时装配新的主题(就如同装配WAR),所以完全可以在不重新启动应用服务器的情况下改变门户的外观特性。而所谓的主题可以支持各类布局系统(如tiles),无论他们是用JSP还是Velocity (VM)来实现的。
The portal ships with four themes to showcase their flexibility and get users started on creating their own custom themes. Be sure to check out ourEducaMadrid case study to get a glimpse of the power of themes. Also see theThemes User Guide for more information on how to create and manage themes.
系统自带了四个主题,足可以展现其灵活性及方便用户借以来创作自己的主题。一定要学习一下案例EducaMadrid来体验一下主题的强大魅力。也可以参阅主题用户指南学习如果制作及管理主题。
*(Provided your app-server supports hot-deploy)
*(前提是所用的应用服务器要支持实时装载功能)
Drag-and-Drop Portlets Now in Liferay Portal 3.6.0, you can drag and drop your portlets to wherever you want on your page.  No longer do you need to click up/down arrows to move a portlet.  Nor do you have to be forced to keep a portlet in the column you initially placed it in.  Instead, simply click on the title bar of the portlet you wish to move and move it to its new home.
在新版3.6中,用户可以随意通过拖动来布置门户单元的位置。再也不必一定要通过向上向下来调整位置,而且不局限于当前的栏(宽或窄栏),简单到只要点击标题条,拖到新位置就可以实现移动。
Read more aboutPortlet Drag-and-Drop positioning.
更多相关资料请参阅Portlet Drag-and-Drop。
Portlet Instancing
门户单元多实例化
Liferay Portal 3.6 supports the creation of multiple instances of the same portlet. You no longer have to duplicate xml code to create multiple instances -- simply click on the portlet name in the page layout admin section to add another portlet instance.
Liferay Portal 3.6支持同时生成同一门户单元的多个实例。你再也不必为了做多个实例而把同样XML文件复制来复制去,而现在只要管理界面直接添加另一个实例就OK了。
Liferay.com uses multiple instances of the Journal Content portlet, for example, to lay out its pages.
网站Liferay.com就使用了“学报内容门户单元”(Journal Content portlet)的多个实例,如:布置页面。
New "runtime-portlet" Tag
新“在线门户单元”标签
With the "runtime-portlet" tag, you can now include a portlet instance inside any CMS template or article. The tag is also used by the Portlet Aggregator to provide a mechanism for flexible portlet layout (see below).
有了“在线门户单元”标签("runtime-portlet" tag),系统可以在CMS模板或文章是引入门户单元的实例。这个标签功能被下文中的“门户单元集成器”用来实现灵活的门户单元布局。
"runtime-portlet" takes Liferay Portal to a new level of flexibility in terms of how portlet functionality and CMS-driven content can be blended together. As a simple example "runtime-portlet" is used on Liferay.com‘s front page to include an instance of the login portlet.
在门户单元与CMS内容的融合功能上,“在线门户单元”几乎是开辟了新纪元。作为一个生成的实例,Liferay.com首页的登录门户单元就是成功引入的一个单元实例。
Portlet Aggregator
门户单元集成器
With the Portlet Aggregator, you now have the flexibility to easily create your own custom portlet layouts in addition to the traditional one, two or three column layouts of previous versions of Liferay. The Portlet Aggregator gives you complete control over the layout of any number of portlets. Simply code your layout in HTML and use the "runtime-portlet" tag to lay out the portlets the way you want.
系统增加“门户单元集成器”(Portlet Aggregator)后,用户可以灵活地创作自己定制的门户单元布局,而不仅仅是传统的一列、两列、三列的模式。也就是说集成器给了用户对门户单元布局的完全控制权,要做的仅仅是在HTML中使用“在线门户单元”标签按照自己的想法来布置就行了。
A maintenance release of Liferay Portal will soon include a GUI for the Portlet Aggregator -- no HTML skills needed -- and the ability to hot-deploy layout templates.
更好的消息是,在即将推出的修正版中将提供给用户图形化界面的集成器编辑工具,不需要任何HTML的技术,你就可以在线装配自己的模板。
Read more about thePortlet Aggregator.
更多资料可以参考门户单元集成器的相关介绍
Nested / Child Pages
内嵌/子页面
With Liferay Portal 3.6, you can easily add structure to your portal or website by creating child pages under a main parent page. On Liferay.com, for example, the "Products" page includes this page as a child page.
在Liferay Portal 3.6中,用户可以轻松在门户系统或站点中,在某主页面中增加子页面。在Liferay.com网站,本版(英文版)就是作为子页面包括在“Products”的页面中的。
Navigation Portlet
导航门户单元
The Navigation Portlet allows you to display the navigational structure of a portal page. Because it is a portlet, it automatically determines the navigational structure of the page it is included on, and displays it accordingly.
导航门户单元用来显示门户系统的所有单元的结构图。这个门户单元可以自动侦测门户系统所包含的各单元及结构,并相应的显示给使用者。
The Navigation Portlet can be used with two display styles, breadcrumb style and bulleted-list style. You can see an instance of the Navigation Portlet using bulleted-listed style in this page‘s left column.
导航门户单元有两个显示风格可选:面包屑式(breadcrumb style)和公告牌列表式(bulleted-list style)。在官方网站本页面的左边就是公告牌列表式的例子。
译者注:前者相当于常见网站导航条,再加当前级的列表;后者相当于树状列表,跟目录浏览类似。
Read more about theNavigation Portlet.
更多相关资料请参阅导航门户单元。
Breadcrumb Portlet
面包屑式门户单元
The Breadcrumb Portlet works much like the Navigation Portlet, except navigation pages on the same level as the current page are not displayed.
面包屑式门户单元(Breadcrumb Portlet)基本与导航门户单元类似,只是当前页面同级的导航单元不再显示(忽略掉了)而已。
译者注:相当于常见网站导航条。
Read more about theBreadcrumb Portlet.
更多相关资料请参阅面包屑式门户单元。
Journal Content Portlet
学报内容门户单元
The Journal Content Portlet allows you to easily display a CMS article on a portal layout page. Editing the preferences of an instance of this portlet takes you to a list of groups and all of the CMS articles available to the group you select. You can also edit the included article directly from the Journal Content portlet, making the process of updating your site content devastatingly simple.
学报内容门户单元可以使得更容易地在门户布局页面中展示相应的CMS文章。通过编辑单元实例的首选项,可以在适用的所有CMS文章清单中选择所要的内容。用户也可以在学报内容门户单元内直接编辑所引入的文章,从而大大加快了开发或发表文章速度。
Read more about theJournal Content Portlet.
更多相关资料请参阅学报内容门户单元。
Content Management
内容管理
Improvements to the Content Mangement System (Journal portlet) include internationalization for text and images, as well as the addition of new data types: boolean, list, and multi-select.
在内容管理系统(日记门户单元)包括在文本及图片方面的国际化,以及boolean、list和multi-select等新的数据类型。
JSF Support
JSF支持
Liferay Portal now supports Java Server Faces. Deploy custom JSF portlets using both Sun‘s JSF implementation or the MyFaces implementation.
Liferay Portal系统支持Java Server Faces,包括用Sun及MyFaces对JSF的实现的门户单元都可以在系统中装载。
_xyz