由于easyui这个框架简化了不少开发过程,经常被拿来开发后台,但是其实有一个树型的控件,用起来稍微复杂一点,总结了一下最基本的用法!首先是前台添加标签如下: 其次添加引用包 前台代码如下: 这里要说一下,loadfilter加上后就已经可以展示了,主要起过滤作用而如果不...
分类:
Web程序 时间:
2014-06-29 00:51:31
阅读次数:
270
Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest le...
分类:
其他好文 时间:
2014-06-18 12:51:52
阅读次数:
205
RPM是RedHat Package Manager(RedHat软件包管理工具)类似Windows里面的“添加/删除程序”rpm 执行安装包二进制包(Binary)以及源代码包(Source)两种。二进制包可以直接安装在计算机中,而源代码包将会由RPM自动编译、安装。源代码包经常以src.rpm作...
分类:
其他好文 时间:
2014-06-18 12:49:53
阅读次数:
238
Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identical an...
分类:
其他好文 时间:
2014-06-18 12:32:58
阅读次数:
169
FP Growth算法利用了巧妙的数据结构,大大降低了Aproir挖掘算法的代价,他不需要不断得生成候选项目队列和不断得扫描整个数据库进行比对。为了达到这样的效果,它采用了一种简洁的数据结构,叫做frequent-pattern tree(频繁模式树)。...
分类:
编程语言 时间:
2014-06-18 12:22:01
阅读次数:
495
1.在Action中定义,context用于传递搜索条件和分组条件,在搜索视图中默认显示: 示例代码: Leaves Summary hr.holidays form tree,form {'search_default_group_type': 1, ...
分类:
其他好文 时间:
2014-06-18 10:22:52
阅读次数:
333
终端输入md5sum --help:md5sum --help用法:md5sum [选项]... [文件]...显示或检查 MD5(128-bit) 校验和。若没有文件选项,或者文件处为"-",则从标准输入读取。-b, --binary 以二进制模式读取-c, --check 从文件中读取MD5.....
分类:
其他好文 时间:
2014-06-18 08:20:03
阅读次数:
199
广播风暴:当网络中存在物理环路,会产生广播风暴STP协议:Spanning Tree Protocol(生成树协议) 逻辑上断开环路,防止广播风暴的产生STP算法:(所有选择都是比小-小的当选) 选择根网桥(Root Bridge):在网络中的所有交换机中选择一台 选择依据:网桥ID(网桥...
分类:
其他好文 时间:
2014-06-18 00:16:46
阅读次数:
252
由于之前合并了流程及表单分类,在高级查询和流程管理页面打开z-tree树时,前端页面报出queryAllCategory()的空指针异常(逐步调试后在该方法中无空指针异常),并报如下错误:[16/06/1407:30:07:007CST]DEBUGsql.Connection:xxxConnectionClosedorg.codehaus.jackson.map.Json..
分类:
其他好文 时间:
2014-06-17 17:41:14
阅读次数:
190
二叉树的插入与删除,来自Mark Allen Weiss的《数据结构与算法分析》。# Definition for a binary tree nodeclass TreeNode: def __init__(self, x): self.val = x self...
分类:
编程语言 时间:
2014-06-17 14:25:01
阅读次数:
291