
liferay
-兰天白云-
成功= 一个明确的职业目标+持续的行业积累+不断的知识补充。
展开
-
serviceBuilder学习网址
网址:http://www.liferay.com/community/wiki/-/wiki/Main/Service+Builder原创 2012-04-08 23:54:47 · 647 阅读 · 0 评论 -
liferay的一些小笔记
转载,请注明原创地址:http://blog.youkuaiyun.com/lan861698789/article/details/80494811、velocity的国际化 $languageUtil.get($locale, "toggle-edit-controls")。这里的msgKey就是你的资源文件中的键值。2、init.jsp \liferay-por原创 2012-10-08 18:05:50 · 2345 阅读 · 1 评论 -
liferay中四种创建主键的方法
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 5.0.0//EN" "http://www.liferay.com/dtd/liferay-service-builder_5_0_0.dtd"> Canopy <!-- Use a class to generate the原创 2012-06-04 13:02:39 · 1299 阅读 · 0 评论 -
velocity笔记
1、velocity怎么获取liferay自己的service?http://www.liferay.com/community/wiki/-/wiki/Main/Access+to+Liferay+services+in+Velocity 比如要获取grouplocalservice?#set($groupLocalService = $serviceLocator.findS原创 2013-02-28 14:54:35 · 487 阅读 · 0 评论 -
邮件送信接口
原文:http://blog.youkuaiyun.com/hantiannan/article/details/6736788 Liferay中的邮件送信非常简单,调用 MailServiceUtil.sendEmail(mailMessage);即可。是单独的一个job,所以是非同期送信。下面是我写的一个送信方法。to,cc,bcc都可以是用逗号分隔的多个邮件地址。转载 2013-04-01 00:03:41 · 996 阅读 · 0 评论 -
Custom queries in Liferay (在liferay中使用传统的Query) 中文
英文:http://blog.youkuaiyun.com/lan861698789/article/details/7618781 原文:http://www.chinasb.org/archives/2010/12/1313.shtml首先,Liferay内置的ServiceBuilder工具十分强大,基本上的数据库操作都可以通过自动生成的方法去实现。但是某些复杂的方法就需要使用到自定义SQL转载 2012-08-30 01:04:20 · 1239 阅读 · 0 评论 -
查找对应JSP页面
原文:http://chenjumin.iteye.com/blog/1452344本范例以控制面板的用户管理功能为例来说明如何找到对应的jsp源文件: 1、从浏览器地址栏中取得p_p_id参数值,该参数值是portlet名称 2、到portlet-custom.xml文件找到portlet-name等于p_p_id参数值的portlet配置信息,从配置信息取得vi转载 2012-08-17 15:03:23 · 4992 阅读 · 0 评论 -
Embedding a portlet in the theme
原文:http://www.liferay.com/community/wiki/-/wiki/Main/Embedding+a+portlet+in+the+theme Introduction #Themes are developed using the Velocity template language. Liferay provides tools转载 2013-06-07 00:02:18 · 1239 阅读 · 0 评论 -
Liferay's Permission 权限
官方网站:http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Using+Liferay%27s+Permission+System+from+a+portlet orhttp://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/secur原创 2012-06-12 23:05:35 · 2567 阅读 · 0 评论 -
Friendly URLs for Liferay Portlets
原文:http://blog.youkuaiyun.com/zhichao_boole/article/details/6793365标准的portletURLs 并不能算是简洁的:http://localhost:8080/web/guest/home?p_p_id=mygreeting_WAR_mygreetingportlet&p_p_lifecycle=0&p_p_state转载 2013-09-16 23:03:25 · 798 阅读 · 0 评论 -
JSON Service API
原文:http://www.liferay.com/zh/community/wiki/-/wiki/Main/json+service+apiTable of Contents [-]IntroductionHow to generate the JSON APIKnown limitationsInvoking the转载 2013-10-16 23:12:43 · 1117 阅读 · 0 评论 -
Custom queries in Liferay (在liferay中使用传统的Query)
原文:http://www.liferay.com/en/community/wiki/-/wiki/1071674/Custom+queries+in+Liferay+5.2Sometimes it is needed to perform joined queries with the Service Builder. It is not possible to do it with转载 2012-05-31 10:41:49 · 2281 阅读 · 0 评论 -
Liferay:Portlet的ID和Portlet名的对照关系
原文:http://blog.youkuaiyun.com/hantiannan/article/details/6760840经常在代码中看到Portlet的ID。怎么一目了然知道这个ID所代表的Portlet。比如/liferay-portal-src-6.0.5/portal-web/docroot/WEB-INF/liferay-portlet.xml中的有如下的设置。转载 2013-04-01 00:00:45 · 764 阅读 · 0 评论 -
Liferayの调度器-定时任务
原文:http://www.huqiwen.com/2012/10/22/liferay-6-1-development-study-11-use-scheduler/在liferay的开发中经常需要执行一些定时调度任务,一般情况下在普通的web开发中我们使用quartz来做调度,但是在Liferay中已经对于调度做了一个封装,方便我们在开发中执行调度任务,liferay中封装了两种方法方便我转载 2012-10-28 21:51:06 · 1061 阅读 · 0 评论 -
在Liferay二次开发中使用ServiceBuilder
在Liferay二次开发中使用ServiceBuilder:根据Xml描述文件,使用ServiceBuilder可以产生如下信息:Java BeansSQL scripts for database tables creationHibernate ConfgurationSpring ConfgurationAxis Web ServicesJSON JavaScri转载 2012-04-08 23:38:10 · 1737 阅读 · 0 评论 -
AUI官网,标签网址
1、官网:http://www.alloyui.com2、标签:http://www.liferay.com/zh_CN/web/guest/community/wiki/-/wiki/Main/Alloy+UI+Forms+%28aui%29原创 2012-05-09 12:53:21 · 3079 阅读 · 0 评论 -
AUI基本标签
Table of Contents [-]TagsFormAtributesExampleFieldsetAtributesExampleButtonAtributesExampleButton RowAtributes原创 2012-05-12 18:33:52 · 9129 阅读 · 0 评论 -
AUI常见列子
1、按钮。AUI().ready('aui-button-item', function(A) { var instance = new A.ButtonItem({ icon: 'pencil', label: 'myFirstButton', handler :function(){ alert('hello word'); }, render: '原创 2012-05-30 09:11:07 · 3810 阅读 · 0 评论 -
Alloy UI taglibs
Hi Everyone,you can see below example to get the idea about Alloy UI taglibs Welcome to Alloy UI Test转载 2012-05-23 09:15:45 · 1114 阅读 · 0 评论 -
liferay UI 标签
摘自:http://blog.youkuaiyun.com/zhichao_boole/article/details/6801539 如果你已下载liferay source,标签库位于/util-taglib/src/META-INF/liferay-ui.tld。Java classes位于/util-taglib/src/com/liferay/taglib/ui。JSPfragments位于转载 2012-05-13 23:14:36 · 1898 阅读 · 0 评论 -
liferay运行步骤(一)
原文:http://blog.youkuaiyun.com/yukunzgp/article/details/2177392用户在地址栏键入http://localhost:8080/后,整个Liferay系统发生了些什么呢?1. 第一步,生成 http://localhost:8080/cRequest: GET/HTTP/1.1Response: 状态:HTTP/1.转载 2012-10-08 18:51:01 · 1245 阅读 · 0 评论 -
一步步教你用liferay
原文:http://blog.youkuaiyun.com/liwenjian/article/details/7902966Portlet插件开发说明文档概述Liferay几种开发:1、 Portlets一个插件中可以有多个portlet,portlet开发可以用Struts、Spring MVC、Java Server Faces (JSF)等框架,也可以使用Liferay特定的框转载 2012-10-23 23:08:55 · 5970 阅读 · 5 评论 -
在Liferay中使用Ajax
原文:http://www.huqiwen.com/2012/10/21/liferay-6-1-development-study-10-use-ajax/在现在的Web开发中,Ajax的使用非常频繁,合理的使用Ajax也是提高用户体验的一个重要手段,在Liferay中使用Ajax其实非常方便,但是和普通的web程序稍有差异。一、简单示例客户端代码编写1、在Liferay中创建一转载 2012-10-28 21:49:51 · 1346 阅读 · 0 评论 -
liferay-文件上传处理
原文:http://www.huqiwen.com/2012/10/24/liferay-6-1-development-study-12-file-upload/Liferay中提供了完善的文件处理,从liferay 6.1开始在文件的处理方面,不再区分文档和图片,统一为文件媒体库。在普通的portlet插件工程中,如果想将文件上传到Liferay的文档库中,大的阶段可以分为两个流程:一、在转载 2012-10-28 21:54:02 · 2269 阅读 · 0 评论 -
DynamicQuery一张或者多张表
public List getMostPopularArticles(String companyId, String groupId, String type, int limit) { List results = Collections .synchronizedList(new ArrayList()); DynamicQuery dq0 = DynamicQuery原创 2012-06-05 18:53:40 · 3013 阅读 · 0 评论