MVC 拦截器1、IActionFilter(Action拦截器接口)Action拦截器分别在“执行Action之前”拦截和“执行Action之后”拦截,2个方法如下: //摘要://Calledaftertheactionmethodexecutes.////参数://filterContext:...
分类:
其他好文 时间:
2014-07-22 22:56:12
阅读次数:
307
刚学完uiview,uicontrol类,许多人知道 touchesBegain,touchesMoved,touchesEnd,GestureRecognizer的用途,但仔细考虑这些事件之间的关系,却令人头疼. 现在以一个例子来分析它们的内部实现:- (void)viewDidLoad{ ...
分类:
移动开发 时间:
2014-07-19 21:25:31
阅读次数:
236
http://blog.csdn.net/xiaanming/article/details/9470223一、兼容类库ActionBarSherlock: Action Bar是Android 3.0后才开始支持的,ActionBarSherlock是让Action Bar功能支持2.X后的所有平...
分类:
移动开发 时间:
2014-07-19 21:03:50
阅读次数:
347
TimeServer.javapackage netty.timeserver.server;import io.netty.bootstrap.ServerBootstrap;import io.netty.channel.ChannelFuture;import io.netty.channel...
分类:
Web程序 时间:
2014-07-19 20:05:13
阅读次数:
252
1。GUI开发 python中界面开发使用wxPython库,开发手册wxPytyhon in action; * http://wiki.woodpecker.org.cn/moin/WxPythonInAction * http://blogimg.chinaunix.net/blog/u...
分类:
编程语言 时间:
2014-07-19 19:39:19
阅读次数:
195
有时候在封装MVC通用控件时需要在页面上获取这些数据。用以下方法即可://获取控制器名称:ViewContext.RouteData.Values["controller"].ToString();//获取Action名称:ViewContext.RouteData.Values["action"]...
分类:
Web程序 时间:
2014-07-18 23:27:02
阅读次数:
299
Intent的架构包括三方面: Client,也就是发送这个Intent的activity; Server,也就是activityManagerService.java,它主要是负责分发这些Intent给适当的对象; Target,也就是那些需要处理这个Intent的activity,我们称为Receiver;
Intent的三个主要方面:Action、Data、Category在之前的文档中也...
分类:
移动开发 时间:
2014-07-18 23:08:50
阅读次数:
267
//构建post方式提交 var form = document.createElement("form"); form.action = "conditionSearch.action"; form.method = "POST"; form.sty...
分类:
Web程序 时间:
2014-07-16 23:59:51
阅读次数:
478
$("#uploader").plupload({
/*常规设置*/
runtimes:‘html5,flash,silverlight,html4‘,
url:‘hyzx/seller/commPicUpload.action‘,
/*最大文件限制b,kb,mb,gb,tb*/
max_file_size:‘1mb‘,
/*是否生成唯一文件名,如果为true会为上传的文件唯一的文件名。*/
unique_names:true,
/*..
分类:
Web程序 时间:
2014-07-16 16:29:00
阅读次数:
339
在分析安卓源码过程中看到几处使用变长结构体的例子,比如下面的结构体:
struct command
{
/* list of commands in an action */
struct listnode clist;
int (*func)(int nargs, char **args);
int nargs;
char *args[1];
...
分类:
其他好文 时间:
2014-07-16 16:16:29
阅读次数:
381