- 浏览: 122166 次
- 性别:
- 来自: 火星
最新评论
-
hj01kkk:
不错:grin:
extjs treepanel动态改变树节点的图标 -
xiangzhu100:
请问你有folder.gif的图片么?发给我??
extjs treepanel动态改变树节点的图标 -
viken:
确实, 相当郁闷
struts2 ognl.MethodFailedException -
gpl414713065:
谢谢啦
div被flash遮住的问题 -
mcqueen:
spring1118 写道此代码直接添加到Treepanel中 ...
extjs treepanel动态改变树节点的图标
文章列表
[置顶] extjs3.x ajax同步请求
- 博客分类:
- ExtJS
在使用extjs3.3的过程中,发现extjs3.x已经把extjs2.x中的ajax同步请求的方法(Ext.lib.Ajax.getConnectionObjec)干掉了,那如何时好?在一些特定场合下,还是需要ajax的同步请求来能满足需求!很简单,extjs3.x既然指导这个方法去掉了,那我们自行把这个方法还不行吗?!把以下代码放到一个js文件中,使用的时候把此js文件引进页面即可。
Ext.lib.Ajax.getConnectionObject = function() {
var activeX = ['MSXML2.XMLHTTP.3.0', 'MSXML2.XML ...
[置顶] 共享网络连接
- 博客分类:
- 知识管理
1.开启无线网络连接(不管当前使用的是否无线网络),即不能禁用无线网络连接,否则需要设置共享的网络连接的”共享”选项卡不会出现。
2.右键当前使用的网络连接 –> 属性 –> 共享 –>
勾上所有,并在中间的下拉框中选择”Microsoft Virtual
WiFi Miniport Adapter”对应的网络连接。(若看不到Microsoft Virtual WiFi Miniport Adapter,先运行一次下面创建一个托管网络连接的命令)
3.创建一个托管网络连接
netsh wlan set hostednetwork mode=allow
ssid ...
[置顶] 定时备份文件
- 博客分类:
- 知识管理
以下代码存成bat文件,如 run.bat
@ECHO OFF
rem 定义要备份的文件夹
set srcDir=E:\upload
rem 定义存储放备份文件的目标文件夹
set targetBaseDir=D:\backup\
set targetDir=%targetBaseDir%%date:~0,10%-%time:~0,2%-%time:~3,2%-%time:~6,2%
rem 以当前日期为名字创建备份文件夹,格式为 yyyy-MM-dd-HH-dd-ss
mkdir %targetDir%
rem 复制要备份的文件夹中的所有文件到上面创建的文件中
xco ...
soap development issue
- 博客分类:
- SOAP
description:
No Deserializer found to deserialize a 'xxx' using encoding style 'yyy'
reason:
the requesting envelope-xml doesn't match the wsdl definition. you can monitor the request-envelope-xml with TCP/IP Monitor (Eclipse plugin) and check against the wsdl definition, especia ...
1. generate-java-class-from-xml-schema-in-eclipse-ide
http://theopentutorials.com/examples/java/jaxb/generate-java-class-from-xml-schema-in-eclipse-ide/
2. demo
http://wenku.baidu.com/view/076cbe126c175f0e7cd137e1
<?xml version="1.0" encoding="utf-8"?>
<project name="b" basedir="." default="build-client">
<taskdef resource="net/sf/antcontrib/antlib.xml" />
<taskdef name="clientgen" classname="weblogic.wsee.too ...
<!-- print classpath -->
<path id="somePathId">
<pathelement path="someDir"/>
</path>
<property name="debug.classpath" refid="somePathId"/>
<echo message="Classpath = ${debug.classpath}"/>
<!-- mod ...
var Cookies = {
set : function(name, value) {
var argv = arguments;
var argc = arguments.length;
var expires = (argc > 2) ? argv[2] : null;
var path = (argc > 3) ? argv[3] : '/';
var domain = (argc > 4) ? argv[4] : null;
var secure = (argc > 5) ? argv[5] : false;
do ...
save following script to a bak file -> update the info inside -> run it
FYI: http://weblogic-wonders.com/weblogic/2011/02/01/weblogic-as-a-windows-service/
install script:
SETLOCAL
set DOMAIN_NAME=my_domain
set USERDOMAIN_HOME=C:\Oracle\Middleware\user_projects\domains\my_dom ...
...
<taskdef name="wldeploy" classname="weblogic.ant.taskdefs.management.WLDeploy" classpath="${wls.home}\server\lib\weblogic.jar"/>
<wldeploy action="deploy" name="${appName}" targets="${serverName}" source="xx.ear" use ...
Set the value of "production-mode-enabled" to false/true in ${wls.domain.path}/config/config.xml
Java Classloader
- 博客分类:
- Java
Java Classloader Hierarchy
Classloaders contain a hierarchy with parent classloaders and child
classloaders. The relationship between parent and child classloaders is
analogous to the object relationship of super classes and subclasses.
The bootstrap classloader is the root of the Java ...
从classpath获取指定文件名的资源
- 博客分类:
- Java
InputStream inp = this.getClass().getClassLoader()
.getResourceAsStream("fileName.txt")
ant 合并多个jar为一个jar
- 博客分类:
- Java
<?xml version="1.0" encoding="utf-8"?>
<project name="b" basedir="." default="makeSuperJar">
<target name="makeSuperJar" description="description">
<jar destfile="all.jar">
& ...
PowerDesigner增加插件
- 博客分类:
- R&D
1.将*.xem拷贝到%powerDesigner%\Resource Files\Extended Model Definitions目录下
2.打开pd,model->extended model definitions添加模板
3.tool->extended generation