
liferay
文章平均质量分 57
iteye_8771
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
liferay6.1 启用logj4j.properties定义日志
在编译好的环境下 即tomcat/webapp/ROOT/WEB-INF/classes中加入system-ext.properties其内容如下:#### Logging## # # Set any logger that implements org.apache.commons.logging.Log. # org.apache.c...原创 2012-07-02 14:57:47 · 217 阅读 · 0 评论 -
liferay webservice 使用
1.自定义实体向外提供webservice接口的步骤 在下面这个例子中我们将在数据库中创建一张表并提供一个通过webservice修改表的方法 1.1表结构简单定义为: CREATE TABLE [dbo].[MyBook]( [bookid] [bigint] NOT NULL, [bookname] [varchar](500) NULL,...原创 2012-12-18 14:57:03 · 218 阅读 · 0 评论 -
liferay 一个实例对应多个域名
在 社区 组织 的管理页面 中有个设置 liferay6.1 中加入 jQuery 使用hook原创 2012-06-14 15:00:09 · 188 阅读 · 0 评论 -
liferay6.1 环境搭建遇到点问题
执行 ant all 出现问题 The environment variable ANT_OPTS is not set.Please set it to the recommended value of "-Xms256M -Xmx512M". 找到了答案 如下:window 在我电脑中设置环境变量ANT_OPTS=-Xms256M -X...原创 2012-06-13 18:07:06 · 140 阅读 · 0 评论 -
liferay 页面的portlet:defineObjects 标签
<defineObjects> 标记的作用:这个标记可以让jsp页面使用所有的Portlet 2.0 API里面的隐式对象,它是一个无属性标记.他如果在页面上定义了<portlet:defineObjects /> 那么如下隐式变量将在页面上可用:renderRequest,renderResponseactionRequ...原创 2012-06-11 21:28:26 · 144 阅读 · 0 评论 -
liferay6.1sdk目录认识
iferay SDK有如下的目录结构: clients/ 是client插件的目录并且提供了创建 client插件的ant脚本dist/ 这个目录存放了用于部署和发布的archive应用。就是部署到tomcat的war包,如hello-portlet.war等ext/ 是Ext插件的目录并且提供...原创 2012-06-11 21:00:46 · 89 阅读 · 0 评论 -
mark liferay 表结构分析
liferay中每个page(layout)的界面顺序是通过layout表的priority,layoutId, parentLayoutId字段来确定的。 organization_表中存储组织和场所,通过location=0 or 1来区分是组织还是场所; usergroup 存储用户组,user group与community, organization, locations...原创 2012-04-26 16:22:46 · 179 阅读 · 0 评论 -
Resources for Liferay Developers
The following are useful reference resources for developers working with the Liferay Platform:Liferay specific resources:What is a portal? http://www.liferay.com/products/what-is-a-porta...原创 2013-06-21 22:04:10 · 150 阅读 · 0 评论 -
liferay theme中添加portlet实例及几个theme中使用变量
1、 在theme中直接加入上面的标签就可以把指定的portlet加到theme中显示!! $taglibLiferay.runtime("portlet的ID") 2、点前页面的title 写道$layout.getHTMLTitle($locale) ...原创 2012-02-29 20:09:18 · 205 阅读 · 0 评论 -
Liferay 验证码动态刷新
1.使用liferay标签生成 验证码的url <portlet:actionURL windowState="<%= LiferayWindowState.EXCLUSIVE.toString() %>" var="captchaURL"> <portlet:param name="struts_action" value...原创 2012-07-23 19:11:16 · 293 阅读 · 0 评论 -
liferay4.3笔记之整合CAS server进行单点登录(SSO)
Lieferay和web项目中整合Liferay CAS server建立SSO,针对4.3版本进行如下操作1、设置CAS server首先下载cas-server WAR包,并将cas-web.war文件放入Tomcat's webapps目录下编辑 tomcat 下的server.xml<Connector port="8443...原创 2011-04-14 10:04:23 · 128 阅读 · 0 评论 -
Liferay 5.2.3: custom URLs formats
Liferay SEO capabilities seems to be surprisingly weak when it comes to URL management. Consider an example: you’re trying to build a webapp that will be doing some abstract searches over som...原创 2011-04-14 09:29:38 · 139 阅读 · 0 评论 -
Velocity模板(VM)语言介绍 1 liferay 中的vm 转转
1. 关于Velocity 用户指南旨在帮助页面设计者和内容提供者了解Velocity 和其简单而又强大的脚本语言(Velocity Template Language (VTL))。本指南中有很多示例展示了用Velocity来讲动态内容嵌入到网站之中,但是所有的VTL examples 都同演示用于所有的页面和模版。...原创 2011-03-31 10:14:49 · 367 阅读 · 0 评论 -
liferay加载过程详解 转
当用户在浏览器地址栏上输入http://localhost:8080/后,经过几次迭代,服务器最终处理的是http://localhost:8080/c/portal/update,那当服务器收到/c/portal/update的请求后做了什么动作,最后是怎么向浏览器发送网页信息呢? 1. 首先MainServlet接收这个请求,然后传递到LayoutAction。(具体怎么传递后...原创 2011-03-31 10:12:03 · 218 阅读 · 0 评论 -
自定义页面布局Template转
一、编写模板文件 我们将该页面风格名称定义为1_2_3_2 Columns,在Liferay/html/layouttpl/custom目录下新建1_2_3_2_columns.tpl文件,内容如下:<div id="layout-content-outer-decoration"><div id="layout-content-inner-decoration...原创 2011-03-31 09:54:24 · 175 阅读 · 0 评论 -
Liferay中的Portlet事件通信
Liferay中的Portlet事件通信在有的项目开发中是需要实现的一种机制。下面转自http://liferaycms.blogspot.com/2011/07/inter-portlet-communication.htmlInter portlet communicationHere is the flow of IPC Here below are the steps...原创 2013-12-31 09:46:50 · 207 阅读 · 0 评论