`
jameszhao83
  • 浏览: 67485 次
  • 性别: Icon_minigender_1
  • 来自: 西安
社区版块
存档分类
最新评论
文章列表
今天用gridepanel 只显示了一行数据,结果是因为高度未设置 autoHeight:true 这个就可以显示了 对panel可以添加伸缩效果 collapsible: true collapsed :true 设置默认为关闭状态
Ext.onReady(function(){ var btn=new Ext.Button({text:"按钮"}); var tree=new Ext.tree.TreePanel({ title:"tree test", width:300, height:300, root:new Ext.tree.AsyncTreeNode({ text:"root node", children ...

extjs panel练习

Ext.onReady(function(){ var pan=new Ext.Panel({ title:"my panel", width:600, height:600, //添加工具图标 tools:[{id:"save"},{id:"print",handler:function(){window.print();}}], tbar:[{text:"设备详情",handler:function(){ pan.add({title:"this is n ...
<link rel="stylesheet" type="text/css" href="Extjs/resources/css/ext-all.css"> <script type="text/javascript" src="Extjs/adapter/ext/ext-base.js"></script> <script type="text/javascript" src="Extjs/ext-all.js&q ...
public class ProvLoad extends HttpServlet { Ajax001 a1=new Ajax001(); public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { List<String> prolist=a1.loadPro(); StringBuffer sb=new StringBuffer("[" ...
function createXmlHttpRequest(){ var xmlhttp = null; try{ //Firefox, Opera 8.0+, Safari xmlhttp=new XMLHttpRequest(); }catch(e){//IEIE7.0以下的浏览器以ActiveX组件的方式来创建XMLHttpRequest对象 var MSXML = ['MSXML2.XMLHTTP.6.0','MSXML2.XMLHTTP.5.0', 'MSXML2.XMLHTTP.4.0','MSXML2.XMLHTTP.3.0', ...
算法常用术语中英对照 Data Structures 基本数据结构 Dictionaries 字典 Priority Queues 堆 Graph Data Structures 图 Set Data Structures 集合 Kd-Trees 线段树 Numerical Problems 数值问题 Solving Linear Equations 线性方程组 Bandwidth Reduction 带宽压缩 Matrix Multiplication 矩阵乘法 Determinants and Permanents 行列式 Constrained and Unconstrained ...
今天下载了一个最新的eclipse,eclipse的平台版本3.5.1,直接启动的时候提示,Could not reserve enough space for object heap,真的听怪异,怎么可能直接下载的就有问题呢,然后将eclipse.ini得关于内存的设置看了一下发现了下面的问题 以 ...
关键字: struts2 Struts2标签使用 (1):<s:textfield> ---- 文本输入框 使用:<s:textfield name=”实体Bean。属性”></s:textfield> (2):<s:textarea> ----- 文本域输入框 使用:<s:textarea name=”实体Bean。属性”></s:textarea> (3):<s:password> ----- 密码输入框 使用:<s:password name=”实体Bean。属性”></s:p ...
public class JbpmTest01 extends TestCase { ProcessEngine processEngine; public JbpmTest01(){ processEngine=Configuration.getProcessEngine(); } //设置一个流程定义,必须要用setUp public void setUp(){ processEngine.getRepositoryService().createDeployment().addResourceFromClasspath(" ...
<s:form method="post" action="user/user!save.action"> <s:textfield name="userName"></s:textfield> <s:textfield name="passWord"></s:textfield> <select name = "deptid"> <option value=&qu ...
在xml文件中配置一个filter就可以了 <filter> <filter-name>encodingfilter</filter-name> <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class> <init-param> <param-name>encoding</param-name> ...
  用struts2标签来写 <table> <s:iterator value="users" id="us"> <tr> <td><a href='<s:url action="u!getById"><s:param name="id" value="#us.id" /></s:url>'><s:property value=&quo ...
<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans"       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"       xmlns:context="http://www.springframework.org/schema/context"       //需要后期添加ao ...
applicationContext-actions.xml <?xapplicationContext-actionsml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans"      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"      xmlns:aop="http://www.spr ...
Global site tag (gtag.js) - Google Analytics