日期:2014-05-16  浏览次数:20426 次

oracle 实现 if not exist 方法
oracle 实现 if not exist  方法
见 http://www.itpub.net/thread-1135659-1-1.html


执行Oracle的insert或update语句时同时返回插入或更新后的字段值

http://pub.itpub.net/post/16888/94033

树的实现
Struts2 tree treenode怎么添加自己的图片 http://huanglppp.iteye.com/blog/256181

http://www.cnblogs.com/fhj2050/archive/2008/04/02/1134597.html

http://shupili141005.iteye.com/blog/446576
http://blog.csdn.net/lizh0912/archive/2009/02/25/3936109.aspx


function treeNodeSelected(arg) {
得到ID 是arg.source.widgetId;
这里实现连接
}
dojo.addOnLoad(function() {              
            var s = dojo.widget.byId('parentId').selector;
            dojo.event.connect(s, 'select', 'treeNodeSelected');
        });
树标签
<div style="float: left; width: 300px;">
    <s:tree id="parentId"
    theme="ajax"
    rootNode="root"
    childCollectionProperty="childrenArray"
    nodeIdProperty="ktid"
    nodeTitleProperty="ktname"
    treeSelectedTopic="treeSelected">
    </s:tree>
    </div>


<s:tree label="计算机图书" id="book" theme="ajax"
showRootGrid="true" showGrid="true" treeSelectedTopic="treeSelected">
    <s:treenode theme="ajax" label="李刚" id="yeeku">
        <s:treenode theme="ajax" label="<a href='http://www.126.com'>Spring2.0宝典</a>" id="spring" />
        <s:treenode theme="ajax" label="轻量级J2EE企业应用实战" id="lightweight"/>
        <s:treenode theme="ajax" label="基于J2EE的Ajax宝典" id="ajax"/>
    </s:treenode>
    <s:treenode theme="ajax" label="David" id="David">
        <s:treenode theme="ajax" label="JavaScript: The Definitive Guide" id="javascript"/>
    </s:treenode>
    <s:treenode theme="ajax" label="Johnson" id="Johnson">
        <s:treenode theme="ajax" label="Expert One-on-One J2EE Design and Development" id="j2ee"/>
    </s:treenode>
</s:tree>
json http://gaoligaoli.iteye.com/blog/438225