每种框价都会有国际化的支持,struts2的国际化大致上分为页面的国际化,Action的国际化以及xml的国际化首先在struts.properties文件中加入以下内容:struts.custom.i18n.resources=messageResource或在struts.xml中加入资源文件的...
分类:
其他好文 时间:
2014-05-28 21:46:35
阅读次数:
324
1 /**2 * 使用Custom
UIView的这条路,我走的很不顺利,前期犯2,中期有事,浪费了很多时间!3 *
现在空闲的时间不多了,只能抓紧时间写两个小demo,一来做练习,二来整理下也许能给要学习的人一些帮助!4 */1 /**2 * Custom
UIView常用的三种实现...
分类:
其他好文 时间:
2014-05-28 03:57:34
阅读次数:
316
requestWindowFeature可以设置的值有://
1.DEFAULT_FEATURES:系统默认状态,一般不需要指定//
2.FEATURE_CONTEXT_MENU:启用ContextMenu,默认该项已启用,一般无需指定//
3.FEATURE_CUSTOM_TITLE:自定义标题。...
If you are supporting pre-3.0 with your application
be sure you put this version of the custom theme invalues-v11or similar.
分类:
其他好文 时间:
2014-05-26 17:54:46
阅读次数:
206
DBCamera轻量级定制摄像头https://github.com/danielebogo/DBCameraDBCamera
is a simple custom camera with
AVFoundation.DBCamera使用了AVFoundation框架并简单的定制了摄像头.Gettin...
分类:
数据库 时间:
2014-05-26 11:58:35
阅读次数:
447
SharePoint Development - Custom Content Type using Visual Studio 2010 based SharePoint 2010
本文主要讲述使用Visual Studio开发基于SharePoint 2010的自定义内容类型,本篇加上后续的几篇合起来会构成一个相对全面的自定义列表...
分类:
其他好文 时间:
2014-05-26 05:32:37
阅读次数:
216
you should consider creating a custom View
component and drawing with a Canvas inView.onDraw(). The most convenient aspect
of doing so is that the And...
分类:
其他好文 时间:
2014-05-26 00:05:06
阅读次数:
327
cocos2dx在ios5真机调试闪退问题:
xcode升级5.1后,项目在ios7真机测试没有问题,但在IOS5就出现闪退的现象,这是由于Xcode升级后对项目设置做了一些优化,在custom compiler flags中,-O2是用cocosdx2.2.2项目工程的默认设置,去掉所有的-O2就不会在IOS5真机出现因为加载cocostuio出错而闪退的显现。...
分类:
移动开发 时间:
2014-05-24 21:55:41
阅读次数:
298
在struts2中需要做国际化的有:
jsp页面的国际化,action错误信息的国际化,转换错误信息的国际化,校验错误信息的国际化
在之前的例子中已经做过和国际化相关的例子了,在struts.xml中配置过
view
plaincopy
to clipboardprint?
constant name="struts.custom....
分类:
其他好文 时间:
2014-05-24 19:14:09
阅读次数:
339
JavaScriptSerializer在序列化时会将DateTime的数据序列化成类似\/Date(626543800000)\/这样的值,找了很多方法都不如意,最后在一个博客找到了完美的解决方法,地址:http://blog.calyptus.eu/seb/2011/12/custom-date...
分类:
编程语言 时间:
2014-05-21 21:14:24
阅读次数:
405