在liferay6.2的 mvcPortlet执行ajax请求后 jsp页面的 renderRequest r … Continue reading liferay ajax 后 renderRequest renderResponse为空的替代解决方案
All posts by Stalvan
js拼写json动态key
有时候我们会面临着需要把js中的变量作为json的key使用的情况,但是却往往遇到js执行时把变量名而不是变量 … Continue reading js拼写json动态key
liferay主题中引入portlet
$theme.runtime("portletid")
liferay的jsp中获取当前portlet的windowState
String windowStateStr = renderRequest.getWindowState(). … Continue reading liferay的jsp中获取当前portlet的windowState
IE6789的只读innerHTML
在ie6 7 8 9 中 innerHTML属性是只读的。当对innerHTML进行赋值时会出runtimeE … Continue reading IE6789的只读innerHTML
liferay主题(theme)中使用自定义的图片
由于遇到了需求,theme中需要使用一个自定义的图片。最终经查询和询问,解决方案如下: 1.将图片放到them … Continue reading liferay主题(theme)中使用自定义的图片
oracle插入单引号与&符号
INSERT INTO TESTTTT VALUES(‘INSERT INTO A VALUES(‘B& … Continue reading oracle插入单引号与&符号
tomcat7 设置jvm优化参数
修改$tomcathome/bin/setenv.sh 将内容修改为 CATALINA_OPTS=" … Continue reading tomcat7 设置jvm优化参数
网页在手机上自动缩放100% 适配safari firefox 安卓原生浏览器
linux 复制 直接覆盖不提示的方法
命令如下: \cp -rf abc.txt /home 在cp 前加 \ 即可