Liferay教程– Liferay门户Portlet教程

Welcome to Liferay Tutorial. Liferary is a JSR 286 complaint leading Portlet container. You can use liferay portlet for creating an enterprise, standard and scalable Web Application.

欢迎使用Liferay教程。 Liferary是JSR 286投诉领先的Portlet容器。 您可以使用liferay portlet创建企业,标准和可伸缩的Web应用程序。

Liferay教程 (Liferay Tutorial)

There are different types of Portlet containers such as Apache Pluto, Oracle Web center and Liferay. This tutorial is intended to provide you a full detailed explanation for getting Liferay Portal up and running and deploy the same employee registration sample that we had developed in earlier tutorial.

有多种类型的Portlet容器,例如Apache Pluto,Oracle Web Center和Liferay。 本教程旨在为您提供有关启动和运行Liferay Portal以及部署和部署我们先前教程中开发的相同员工注册样本的完整详细说明。

Generally, you may find some difference between Apache Pluto and Liferay but actually, a lot of work has already done on behalf of you when it comes to develop a Portlet using Liferay.

通常,您可能会发现Apache Pluto和Liferay之间有一些区别,但是实际上,在使用Liferay开发Portlet时,已经代表您完成了许多工作。

Liferay has also supported different types of Portlets as well as added others, Standard Portlet, JSF, Liferay MVC are mainly used with Liferay.

Liferay还支持各种类型的Portlet以及其他类型的Portlet,Standard Portlet,JSF,Liferay MVC主要用于Liferay。

Liferay教程项目结构 (Liferay Tutorial Project Structure)

Find below the full structure for the sample developed below:

在下面找到以下示例的完整结构:

Liferay Eclipse插件 (Liferay Eclipse Plugin)

To make Liferay Portlet development much easier, an Eclipse Plugin should be installed. This plugin will help you creating Liferay Portlet with its proprieties to be deployed smoothly later on. Following below steps will help you install it:

为了简化Liferay Portlet的开发,应安装Eclipse插件。 该插件将帮助您创建Liferay Portlet,使其具有适当的特性,以便稍后顺利部署。 以下步骤将帮助您安装它:

  • From Help menu inside your Eclipse IDE, select Install New Software.

    从Eclipse IDE内的“帮助”菜单中,选择“ 安装新软件”
  • Past this URL https://releases.liferay.com/tools/ide/latest/milestone/ inside Work With input.

    在“与输入配合使用”中,在https://releases.liferay.com/tools/ide/latest/milestone/后面输入此URL。
  • Click next and accept the terms and conditions.

    单击下一步,接受条款和条件。
  • Click finish.

    单击完成。

下载Liferay (Download Liferay)

Downloading of Liferay Portal isn’t much hard mission, just you may follow the below steps to make sure you have proper Liferay Portal installed up and running using your Eclipse.

下载Liferay Portal并不是一件艰巨的任务,只是您可以按照以下步骤操作,以确保已安装正确的Liferay Portal并使用Eclipse运行。

  • Download latest Liferay Portal from this link.

    从此链接下载最新的Liferay Portal。
  • Unzip the downloaded into your directory.

    将下载的文件解压缩到您的目录中。
  • Restart your Eclipse and make sure you’re able of defining a new Liferay Server.

    重新启动Eclipse,并确保您能够定义新的Liferay Server。
  • Click next and browse towered you unzipped Liferay.

    单击下一步,浏览解压缩后的Liferay。
  • Click next & finish.

    单击下一步并完成。
  • Start the server from Servers pane.

    从“服务器”窗格中启动服务器。
  • Waiting till the server get started and the browser open on https://localhost:8080/.

    等待服务器启动并在https:// localhost:8080 /上打开浏览器。
  • Fill in all required informa
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值