if (ios_Vewsion_5_Or_Above) {//iOS 5系统之后的版本
self.tableView.bounces =
NO;
} else {
for (id subview
in self.tableView.subviews)
if ([[subview
class] isSubclassOfCl...
分类:
其他好文 时间:
2014-07-22 23:03:13
阅读次数:
281
# Definition for a binary tree node# class
TreeNode:# def __init__(self, x):# self.val = x# self.left = None# self.right
...
分类:
其他好文 时间:
2014-05-05 22:56:23
阅读次数:
419
1. 自定义验证--成功提示
1) 添加选项
errorClass: "unchecked",
validClass: "checked",
errorElement: "span",
errorPlacement: function (error, element) {
if (element.parent().find("span[for=""" + element.attr("id...
分类:
Web程序 时间:
2014-05-02 18:38:21
阅读次数:
467
A fine property of the non-empty countable
dense-in-self set in the real lineZujin ZhangSchool of Mathematics and Computer
Science,GannanNormalUnivers...
分类:
其他好文 时间:
2014-05-02 17:05:10
阅读次数:
504
self.myScrollView.frame =
CGRectMake(0,
self.stateNavigationHight-216+80,
320, [self
getUIScreenHight]-113);
[UIView
beginAnimations:@"roseImageViewAnimation"
context:(__bridge
void*)sel...
分类:
其他好文 时间:
2014-05-01 22:16:12
阅读次数:
362
一.asp.net1.点击Repeater中的LinkButton,获取当中label中的值:
Label lblName = ((LinkButton )sender).Parent.FindControl("lblName") as Label
;或者在gridView中,添加按钮列Button...
分类:
其他好文 时间:
2014-05-01 21:07:18
阅读次数:
356
@interface DemoObj()@property (nonatomic, strong)
NSOperationQueue *queue;@end@implementation DemoObj- (instancetype)init{ self =
[super init]; ...
分类:
移动开发 时间:
2014-05-01 20:28:37
阅读次数:
917
class testsetandget: kk = {}; def __getitem__(self,
key): return self.kk[key]; def __setitem__(self, key, value): self.kk[key] =
value;a = testset...
分类:
编程语言 时间:
2014-05-01 20:16:13
阅读次数:
449
iframe中的各种跳转方法(转)一、背景A,B,C,D都是jsp,D是C的iframe,C是B的iframe,B是A的iframe,在D中跳转页面的写法区别如下。二、JS跳转window.location.href、location.href本页面跳转,D页面跳转parent.location.h...
分类:
其他好文 时间:
2014-05-01 19:26:02
阅读次数:
356
${name}
${parent.name}
${description}
删除
修改
上面的删除与修改都需要通过OGNL表达式为其指定一个id,这个id其实是在list显示的时候已经通过ognl表达式算好了的,当点击删除时,就会去请求
department_delete?id=xxx在请求到这个ac...
分类:
其他好文 时间:
2014-04-30 22:14:38
阅读次数:
365