<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/facepp</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; facepp]]></copyright><item><title><![CDATA[Liferay的AUI框架Alloy]]></title><link>https://blog.csdn.net/facepp/article/details/8547788</link><guid>https://blog.csdn.net/facepp/article/details/8547788</guid><author>facepp</author><pubDate>Mon, 28 Jan 2013 09:56:01 +0800</pubDate><description><![CDATA[一、AUI是什么？
Liferay中的AUI框架，官方叫做Alloy，是一个UI超框架，能为浏览器的三方面，结构，风格和表现建立网络应用提供连续的简单的API。
它融合了三种设计语言：HTML, CSS 和 JAVA。
准确来说AUI是Liferay在YUI的基础上进行的Liferay扩展，以方便Liferay的一些实际应用和扩展。AUI的很多语法结构、使用方法都都和YUI相关不太多。熟悉Y]]></description><category></category></item><item><title><![CDATA[java读取配置文件]]></title><link>https://blog.csdn.net/facepp/article/details/8547756</link><guid>https://blog.csdn.net/facepp/article/details/8547756</guid><author>facepp</author><pubDate>Mon, 28 Jan 2013 09:48:36 +0800</pubDate><description><![CDATA[java读取配置文件
commons-configuration-1.9.jar
commons-lang.jar
1webserviceAddress.properties放置在src下面
queueAddress=http\://192.168.3.2\:8090/serviceSeq.asmx?op\=SequenceCount
2WebConfig.java
import or]]></description><category></category></item><item><title><![CDATA[ps切图小技巧]]></title><link>https://blog.csdn.net/facepp/article/details/8547715</link><guid>https://blog.csdn.net/facepp/article/details/8547715</guid><author>facepp</author><pubDate>Mon, 28 Jan 2013 09:39:49 +0800</pubDate><description><![CDATA[大小：选择框+信息查看框,内嵌的DIV 宽度可以用百分比100%
切图：选择框+图像/裁剪
margin:外部
padding 内部（减去）
清除辅助线]]></description><category></category></item><item><title><![CDATA[ps切图小技巧]]></title><link>https://blog.csdn.net/facepp/article/details/8547706</link><guid>https://blog.csdn.net/facepp/article/details/8547706</guid><author>facepp</author><pubDate>Mon, 28 Jan 2013 09:37:55 +0800</pubDate><description><![CDATA[大小：选择框+信息查看框,内嵌的DIV 宽度可以用百分比100%
切图：选择框+图像/裁剪
margin:外部
padding 内部（减去）
清除辅助线]]></description><category></category></item><item><title><![CDATA[portlet的友好链接]]></title><link>https://blog.csdn.net/facepp/article/details/8547698</link><guid>https://blog.csdn.net/facepp/article/details/8547698</guid><author>facepp</author><pubDate>Mon, 28 Jan 2013 09:37:03 +0800</pubDate><description><![CDATA[portlet的友好链接最简单的使用方法
 
 PortalUtil.getCurrentURL(renderRequest);
根据取得到当前页面的URL，找到对应的方法。]]></description><category></category></item><item><title><![CDATA[两个portlet的通信]]></title><link>https://blog.csdn.net/facepp/article/details/8547686</link><guid>https://blog.csdn.net/facepp/article/details/8547686</guid><author>facepp</author><pubDate>Mon, 28 Jan 2013 09:34:52 +0800</pubDate><description><![CDATA[">


processAction(){
String str="pp";
actionResponse.setEvent("simple-event",str);}


  simple-event



  simple-event
  lang.String


processEvent()
{
  Event event=request.getEven]]></description><category></category></item><item><title><![CDATA[liferay portlet模式]]></title><link>https://blog.csdn.net/facepp/article/details/8504837</link><guid>https://blog.csdn.net/facepp/article/details/8504837</guid><author>facepp</author><pubDate>Tue, 15 Jan 2013 11:19:09 +0800</pubDate><description><![CDATA[portlet模式
默认进入doView模式
浏览器中点击 扳手中的首选项
进入doEdit模式
在*Portlet.java中模式切换
response.setPortletMode(PortletMode.VIEW);
在URL中切换模式]]></description><category></category></item><item><title><![CDATA[liferay 小知识点]]></title><link>https://blog.csdn.net/facepp/article/details/8504829</link><guid>https://blog.csdn.net/facepp/article/details/8504829</guid><author>facepp</author><pubDate>Tue, 15 Jan 2013 11:18:38 +0800</pubDate><description><![CDATA[long groupId = PortalUtil.getScopeGroupId(request);
      long companyId = PortalUtil.getCompanyId(request);
      long userId=PortalUtil.getUserId(request);]]></description><category></category></item><item><title><![CDATA[liferay的分页search container]]></title><link>https://blog.csdn.net/facepp/article/details/8504670</link><guid>https://blog.csdn.net/facepp/article/details/8504670</guid><author>facepp</author><pubDate>Tue, 15 Jan 2013 11:13:39 +0800</pubDate><description><![CDATA[liferay的分页用一个标签search container就可以实现，非常方便



	<%
		PortletURL portletURL = renderResponse.createRenderURL();
		portletURL.setParameter("jspPage",
				"/html/juneidongtaiportlet/list_dongtai.jsp");
	%]]></description><category></category></item><item><title><![CDATA[liferay数据库]]></title><link>https://blog.csdn.net/facepp/article/details/8504638</link><guid>https://blog.csdn.net/facepp/article/details/8504638</guid><author>facepp</author><pubDate>Tue, 15 Jan 2013 10:55:03 +0800</pubDate><description><![CDATA[liferay默认是采用hsql数据库的，我们可以换成自己想要的数据库。
oracle连接
1.portal-ext.properties
#
# Oracle
#
jdbc.default.driverClassName=oracle.jdbc.driver.OracleDriver
jdbc.default.url=jdbc:oracle:thin:@192.168.7.248:]]></description><category></category></item><item><title><![CDATA[spring下使用hibernate annotation]]></title><link>https://blog.csdn.net/facepp/article/details/8490244</link><guid>https://blog.csdn.net/facepp/article/details/8490244</guid><author>facepp</author><pubDate>Thu, 10 Jan 2013 15:46:02 +0800</pubDate><description><![CDATA[spring下使用hibernate annotation 可以省略掉*.hbm.xml文件

class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean">

 

name="annotatedPackages"&gt; --> 
 
security.user.model.]]></description><category></category></item><item><title><![CDATA[JUnit4在spring怎么测试action]]></title><link>https://blog.csdn.net/facepp/article/details/8490235</link><guid>https://blog.csdn.net/facepp/article/details/8490235</guid><author>facepp</author><pubDate>Thu, 10 Jan 2013 15:42:47 +0800</pubDate><description><![CDATA[JUnit4注解 


@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration( {"/config/applicationContext.xml" }) 
public class BookDaoTest {
 
 @Autowired
 private IBookDao bookDao;
 
 @Test]]></description><category></category></item><item><title><![CDATA[Junit入门]]></title><link>https://blog.csdn.net/facepp/article/details/8489647</link><guid>https://blog.csdn.net/facepp/article/details/8489647</guid><author>facepp</author><pubDate>Thu, 10 Jan 2013 13:50:56 +0800</pubDate><description><![CDATA[http://blog.csdn.net/ai92/article/details/302844
 
JUnit是一个开源的java单元测试框架
1. HelloWorld
记得在几乎每本语言教学书上都能找到HelloWorld这个入门代码。今天在这里，我们也从一个简单到根本不用单元测试的例子入手。这是一个只会做两数加减的超级简单的计算器（小学一年级必备极品）。代码如下：
public]]></description><category></category></item><item><title><![CDATA[iBatis多数据源的苦恼]]></title><link>https://blog.csdn.net/facepp/article/details/8476798</link><guid>https://blog.csdn.net/facepp/article/details/8476798</guid><author>facepp</author><pubDate>Mon, 07 Jan 2013 14:19:23 +0800</pubDate><description><![CDATA[iBatis多数据源的苦恼
在仅使用ibatis时，多数据源简直就是梦魇，每多一个数据源就需要多一份sql-map-config配置文件。
采用spring的AbstractRoutingDataSource就可以简单的解决这个问题。
AbstractRoutingDataSource实现了javax.sql.DataSource接口，因此可以理解为一个虚拟的动态DataSource，在需要]]></description><category></category></item><item><title><![CDATA[liferay简介]]></title><link>https://blog.csdn.net/facepp/article/details/8476639</link><guid>https://blog.csdn.net/facepp/article/details/8476639</guid><author>facepp</author><pubDate>Mon, 07 Jan 2013 13:45:28 +0800</pubDate><description><![CDATA[从用户的角度来看，portlet 是门户网站站点中提供特定服务或信息（例如，提供日历和新闻）的窗口
从应用程序开发者的角度来看，portlet 是可插入的 Web 模块，它们被设计成在门户网站服务器的 portlet 容器中运行。]]></description><category></category></item><item><title><![CDATA[数据库的连接]]></title><link>https://blog.csdn.net/facepp/article/details/8476637</link><guid>https://blog.csdn.net/facepp/article/details/8476637</guid><author>facepp</author><pubDate>Mon, 07 Jan 2013 13:45:08 +0800</pubDate><description><![CDATA[D:\Liferay\liferay-portal-6.1.1-ce-ga2\tomcat-7.0.27\webapps\ROOT\WEB-INF\classes
portal-ext.properties
MYSQL数据库的连接密码设置]]></description><category></category></item><item><title><![CDATA[Service Builder]]></title><link>https://blog.csdn.net/facepp/article/details/8476628</link><guid>https://blog.csdn.net/facepp/article/details/8476628</guid><author>facepp</author><pubDate>Mon, 07 Jan 2013 13:44:23 +0800</pubDate><description><![CDATA[一、什么是Service Builder?
Service Builder是Liferay IDE(SDK)提供的一种代码生成方案，开发人员只需要编辑一个数据库的实体描述文件，即可根据本XML文件生成Spring层代码、Hibernate层代码、SQL、SQL索引创建文件、Spring和hibernate的配置文件等，可以大提高开发人员的效率。简单说就是根据数据库描述文件，生成service层和]]></description><category></category></item><item><title><![CDATA[liferay UI]]></title><link>https://blog.csdn.net/facepp/article/details/8476623</link><guid>https://blog.csdn.net/facepp/article/details/8476623</guid><author>facepp</author><pubDate>Mon, 07 Jan 2013 13:41:57 +0800</pubDate><description><![CDATA[value="/html/caseeditportlet/tabs.jsp"/>

renderURL不经过action跳转
只是执行跳转功能
上面这样定义后
在下面这样写
">基本信息
路径我习惯凡在html下


    value="/html/caseeditportlet/view_news.jsp"/>

">点击查看新闻详细内容]]></description><category></category></item><item><title><![CDATA[报错:Build namespace bsi has build number 3 which is newer than 1]]></title><link>https://blog.csdn.net/facepp/article/details/8476620</link><guid>https://blog.csdn.net/facepp/article/details/8476620</guid><author>facepp</author><pubDate>Mon, 07 Jan 2013 13:41:16 +0800</pubDate><description><![CDATA[Build namespace bsi has build number 3 which is newer than 1
改src/service.properties的build.number=1改大一点]]></description><category></category></item><item><title><![CDATA[开发自己的portlet]]></title><link>https://blog.csdn.net/facepp/article/details/8476616</link><guid>https://blog.csdn.net/facepp/article/details/8476616</guid><author>facepp</author><pubDate>Mon, 07 Jan 2013 13:40:29 +0800</pubDate><description><![CDATA[几个概念
portlet
hook
Ext
Layout
Theme
portal
容器用于运行Portlet，接受请求，执行请求并返回给Portal。Portal用于拼装标记语言片断。
如何将portlet加到页面中
进入Demo左上角，选择添加/示例]]></description><category></category></item></channel></rss>