04 2014 档案
摘要:Microsoft Word 的键盘快捷方式全部显示全部隐藏本帮助文章中描述的键盘快捷方式适用于美式键盘布局。其他键盘布局的键可能与美式键盘上的键 不完全对应。注释本文不介绍如何为宏或自动图文集自定义键盘快捷方式或创建键盘快捷方式。有关详细信息,请单击“另请参阅”部分的链接。本文内容查找和使用键盘快...
阅读全文
摘要:asadmin set-log-levels javax.enterprise.system.tools.deployment=WARNING
阅读全文
摘要:spring中加入log4j log4jConfigLocation classpath:log4j.properties org.springframework.web.util.Log4jConfigListener
阅读全文
摘要:jsf的后台bean中使用spring定义的service,需要使用@ManagedProperty,并且要具有该属性的getter/setter方法。package cn.catr.lm.idc.controller;import cn.catr.lm.idc.service.UserServic...
阅读全文
摘要:新建maven工程,选择web工程 增加jsf框架,加入primefaces 部署到服务器,在浏览器中打开页面,这是primefaces框架的页面。 此时工程web目录下有如下文件 web.xml文件 javax.faces.PROJECT_S...
阅读全文
摘要:spring版本使用4,jsf版本2.2jsf的配置文件faces-config.xml org.springframework.web.jsf.el.SpringBeanFacesELResolver spring配置文件spring-config.xml ...
阅读全文
摘要:SEVERE: Class [ com/mysema/query/dml/DeleteClause ] not found. Error while loading [ class org.springframework.data.jpa.repository.support.QueryDslRep...
阅读全文
摘要:bootstrap paginator可支持bootstrap2 和bootstrap3。默认的下载包中支持2,需要手动修改才能支持bootstrap3。具体方法:找到bootstrap-paginator的js文件,修改bootstrapMajorVersion:3即可 $.fn.boots...
阅读全文
摘要:创建文件 在文件中添加function标签 getFileContent org.primefaces.extensions.showcase.util.ShowcaseUtil java.lang.String getFileContent(java.lang.String)
阅读全文
摘要:分析了一下primefaces extension showcase的源码,总结一下组件传参的方式。下面定义了一个组件,名为fourTabsDecoratorCustom.xhtml 1: 5: 6: 7: Source 8: 9: ...
阅读全文
摘要:F1 显示当前程序或者windows的帮助内容。 F2 当你选中一个文件的话,这意味着“重命名” F3 当你在桌面上的时候是打开“查找:所有文件” 对话框 F5 刷新 F10或ALT 激活当前程序的菜单栏 F11当你在打开网页时,是隐藏侧边栏 F12在编辑好Excel 或Word文档,可“另存为” Backspace 如果在“另存为”或“打开”对话框中选中了某个文件夹,则打开上一级文...
阅读全文
摘要:delimiter $DROP FUNCTION IF EXISTS `fun_convert`$CREATE DEFINER=`root`@`%` FUNCTION `fun_convert`(para varchar(255))RETURNS varchar(255) CHARSET gbkBEGIN declare result varchar(255) default ''; declare cnt int default 0; declare i int default 0; declare id BIGINT default 0; set cnt = length(
阅读全文
摘要:select * from(select t.`name` `name`,count(*) count from company t group by t.`name`) aa where aa.count>1;
阅读全文
摘要:http://jsoup.org/jsoup: Java HTML Parser中文入门指南:http://www.open-open.com/jsoup
阅读全文
摘要:创建定时任务创建定时任务,时间间隔为1min,开始时间为04:00:00,任务名称为backupSchedule,运行当前目录下的copyData.bat脚本schtasks /create /sc minute /mo 1 /st 04:00:00 /tn "backupSchedule" /tr %cd%\copyData低版本的系统(如windows server 2003),需要加上bat脚本文件的文件类型后缀".bat"schtasks /create /sc minute /mo 1 /st 04:00:00 /tn "backup
阅读全文

浙公网安备 33010602011771号