- 博客(5)
- 收藏
- 关注
原创 Objective-c int转成String
[NSString stringWithFormat:@"%d",numberYouAreTryingToConvert]
2012-02-26 11:03:20 1557
原创 UILabel的各种属性与方法的使用(转)
#import "LabelTestViewController.h" @implementation LabelTestViewController /* Accessing the Text Attributes text property font property textColor property...
2012-02-26 10:52:23 108
原创 Action中使用BeanUtils.copyProperties
原文 http://javacrazyer.iteye.com/blog/1032705一、简介:BeanUtils 提供对 Java反射和自省API的包装。其主要目的是利用反射机制对JavaBean的属性进行处理。我们知道,一个JavaBean通常包含了大量的属性,很 多情况下,对JavaBean的处理导致大量get/set代码堆积,增加了代码长度和阅读代码的难度。二、用...
2011-05-17 14:25:59 83
原创 ImportError: Settings cannot be imported, because environment variable DJANGO_SE
使用Django时在命令行中敲击Python命令进入交互模式,如果直接如下操作:from django.template import Template ,Contextt = Template(”Test is {{test}}”) 会导致: ImportError: Settings cannot be imported, because environment variable ...
2010-11-02 11:06:32 107
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人