1. osgQt的构造函数添加:setAttribute(Qt::WA_AcceptTouchEvents);//wyh2. event()修改,支持触摸时间bool GLWidget::event( QEvent* event ){ // QEvent::Hide // // w...
分类:
其他好文 时间:
2014-10-06 15:26:50
阅读次数:
484
1.Request 指属性在一次请求范围内有效。如果页面从给一个页面跳转到另一个页面,那么该属性就失效了。这里所指的跳转是指客户端跳转,比如客户单击超链接跳转到其他页面或者通过浏览器地址栏浏览其他页面。如果使用服务器端跳转,则该属性仍然生效。同理使用request对象的setAttribute()....
分类:
Web程序 时间:
2014-09-24 22:11:37
阅读次数:
330
方法一.//保存在session 在要保存的页面加入如下代码[html] view plaincopyStringls_URL=newStringBuffer(request.getRequestURL()).toString();session.setAttribute("ls_URL",ls_U...
分类:
其他好文 时间:
2014-09-16 14:07:10
阅读次数:
175
JSP内置对象9个:request 对象 常用方法requestgetAttribute()setAttribute()getParameter()getParameterNames()getParameterVaules()sessiongetAttrubute()setAttribute()ge...
分类:
Web程序 时间:
2014-09-15 15:54:49
阅读次数:
168
本版本主要是修复内存泄漏问题,让其在移动端更好的运作。 修正visible BUG 详见这里 修正$fire方法里的正则错误 详见这里 修正ms-attr BUG,在IE9-11,直接用element.setAttribute("value","xxx")还是不能同步到element.valu...
分类:
Web程序 时间:
2014-09-15 12:44:28
阅读次数:
285
一】重点方法: 1》存取对象 void setAttribute(String name, Object object);//将object存入ServletContext对象中,并取名为name(方便取出,与Map类似) Object getAttribute(String...
分类:
其他好文 时间:
2014-09-13 22:42:16
阅读次数:
199
Attribute是属性的意思,文章仅对部分兼容IE和FF的Attribute相关的介绍。attributes:获取一个属性作为对象getAttribute:获取某一个属性的值setAttribute:建立一个属性,并同时给属性捆绑一个值createAttribute:仅建立一个属性removeAt...
分类:
Web程序 时间:
2014-09-13 14:31:25
阅读次数:
199
input.setAttribute("title");当它是一个值,就是取值。input.setAttribute("title", "hello");那这个自然就是设置值了。
分类:
其他好文 时间:
2014-09-12 10:08:43
阅读次数:
159
主要的js方法如下:functionaddRow(){varinput=document.createElement(‘input‘);input.setAttribute("type","file");input.setAttribute("size","55");input.setAttribute("name","theFile");$("#theFile").after(input);$("#theFile").after(document.createElement("BR"));}..
分类:
Web程序 时间:
2014-09-10 14:22:11
阅读次数:
267
把参数放到作用域里面去.如:action中:request.setAttribute("参数名","值");页面上:request.getAttribute("参数名");request.getParameter()方法完全可以获得URL参数,检查下是否参数名写错你使用的是不是BaseAction....
分类:
其他好文 时间:
2014-09-08 10:45:46
阅读次数:
245